Skip to main content

getImageInfo

Get metadata for an image.

Parameter

The name of the image.

Return value

KeyTypeDescription
uidstringUnique identifier.
intentstringStorage intent.
createdstringCreation timestamp.
fileSizenumberFile size in bytes.
memoryUsagenumberMemory usage in bytes.
statestringLoad state of the image.
previewStatestringLoad state of the image preview.
activebooleanWhether the image is currently active.
widthnumberImage width in pixels (present when dimensions are known).
heightnumberImage height in pixels (present when dimensions are known).
formatstringPixel format (present when dimensions are known).
width_mmnumberImage width in millimeters (present when dimensions are known).
height_mmnumberImage height in millimeters (present when dimensions are known).
profilestringColor profile (present when dimensions are known).

Example

getImageInfo "MyImage"