Skip to main content

getImageInfo

Get metadata for an image.

Parameter​

The name of the image.

Return value​

KeyTypeDescription
uidstringUnique identifier.
intentstringStorage intent.
blackModestringImage black mode. v6.0
creatednumberCreation timestamp (Unix time, seconds).
fileSizenumberFile size in bytes.
memoryUsagenumberMemory usage in bytes.
statestringLoad state of the image: PROCESSING, READY, ERROR, or PARKED if the image is not active v5.2.
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).
formatobjectPixel format object, see listImages (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"