ImageAsset

  • The mime_type field specifies the MIME type of the image asset using the MimeType enum.

  • The full_size field provides metadata for the image at its original size using the ImageDimension type.

  • The data field contains the raw byte data of the image and is mutate only.

  • The file_size field indicates the size of the image asset in bytes as an integer.

An Image asset.

Proto definition

Fields

data

bytes

The raw bytes data of an image. This field is mutate only.

file_size

int64

File size of the image asset in bytes.

full_size

ImageDimension

Metadata for this image at its original size.

mime_type

MimeType

MIME type of the image asset.