Gathers image dimensions, color profile, and EXIF data from the main artwork PNG. This metadata is stored in artwork_meta and used for display (dimensions), quality validation, and provenance records.
Arguments
- artist
Character. Artist UUID identifying the creator. Used to construct CDN path if `fp` is NULL.
- artwork
Character. Artwork UUID for this piece. Used with `artist` to locate main.png on CDN vault.
- fp
Character. Optional local file path to the image. If NULL (default), retrieves main.png from CDN vault.
Value
List with two elements: - `meta_1`: Named list of image properties (image_width, image_height, image_colorspace, image_filesize, etc.) - `meta_2`: Named list of EXIF metadata (FileModifyDate, ColorSpace, etc.)
Details
The function extracts two categories of metadata: - **Image properties**: Width, height, colorspace, filesize via magick - **EXIF data**: Camera/device info, timestamps, GPS if present via exiftool
For Procreate artwork, EXIF typically contains iPad device info and the FileModifyDate which can serve as a creation timestamp proxy.
EXIF extraction handles both local paths and CDN URLs transparently. For URLs, the image is downloaded to a temp file before reading EXIF.
See also
Other extraction functions:
extract_creation_window(),
pl-extract-createdate,
pl-extract-evidence,
pl-extract-signature,
pl-extract-stats,
pl-extract-timelapse,
pl-extract-videos
