ImageAsset

  • The image asset has fields for its MIME type, original size metadata, raw byte data, and file size.

  • The mime_type indicates the image file type.

  • The full_size field provides the original dimensions of the image.

  • The data field contains the actual byte data of the image.

  • The file_size field shows the size of the image in bytes.

An Image asset.

Fields

mime_type

MimeType

MIME type of the image asset.

full_size

ImageDimension

Metadata for this image at its original size.

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.