ImageDimension
Stay organized with collections
Save and categorize content based on your preferences.
-
Image metadata includes height, width, and a URL for the image at that size.
-
Height and width are represented as 64-bit integers.
-
A string field provides the URL to access the image with the specified dimensions.
Metadata for an image at a certain size, either original or resized.
Proto definition 
| Fields |
height_pixels
|
int64
Height of the image.
|
url
|
string
A URL that returns the image with this height and width.
|
width_pixels
|
int64
Width of the image.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-23 UTC.
[null,null,["Last updated 2026-02-23 UTC."],[],[]]