ImageDimension

  • 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 theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.