Skip to contents

Retrieves technical image metadata: dimensions, format, colorspace, and filesize. Use this for layout calculations (aspect ratio), format-specific rendering, or storage/bandwidth estimates.

This data is extracted during image processing and cached. The artist parameter is not used in the query but kept for API consistency.

Usage

getArtworkMeta(artist, artwork, cn = NULL)

Arguments

artist

Artist UUID (unused, kept for API consistency)

artwork

Artwork UUID

cn

Optional database connection for query batching

Value

List with: image_format, image_width, image_height, image_colorspace, image_filesize