
Extract Artist Signature from Procreate Canvas
Source:R/pl-extract-signature.R
pl-extract-signature.RdLocates and extracts the artist's digital signature embedded within a Procreate canvas, then uploads it to CDN for display on artwork pages and authenticity certificates.
Arguments
- artist
Character. Artist UUID identifying the creator. Used to construct CDN paths for both input canvas and output signature.
- artwork
Character. Artwork UUID for this piece. Determines the CDN path where the extracted signature will be stored.
- fp
Character. Optional local file path to the .procreate canvas. If NULL (default), retrieves the canvas from CDN.
Value
Invisible logical. TRUE if signature was newly extracted and uploaded, FALSE if signature already exists in CDN (skipped upload).
Details
Procreate allows artists to embed a signature PNG within the canvas file. This signature provides visual authenticity verification and is displayed on generated artwork certificates and gallery pages.
The signature is stored at `processed/<artist>/<artwork>/signature.png` in the art-data CDN bucket. If a signature already exists at this path, the function returns FALSE without overwriting.
Error Handling
Throws an error if no Signature.png file is found within the canvas archive. Not all canvases contain signatures - older or unsigned works will fail.
See also
Other extraction functions:
extract_creation_window(),
pl-extract-createdate,
pl-extract-evidence,
pl-extract-meta,
pl-extract-stats,
pl-extract-timelapse,
pl-extract-videos