Convert a generic artifact into a file/document input source accepted by OCR.
Artifact candidate.
Data URL (when base64 exists) or remote URL.
When the artifact has neither base64 nor url.
base64
url
Convert a generic artifact into a file/document input source accepted by OCR.