ImageAsset

  • The image asset has fields for its MIME type, full-size dimensions, raw byte data, and file size in bytes.

  • The data field, containing the raw bytes of the image, is mutate only.

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.