Nodes/Pertineo VFX/Pertineo Save Image + Metadata
ComfyUI Node

Pertineo Save Image + Metadata

Saves images and their audit report with guaranteed identical base names (name_001.png + name_001.audit.txt / .audit.json / .audit.pdf). The counter skips every number where an image or report already exists; nothing is ever overwritten. Every image of a batch gets its own file pair.

By Pertineo·Created 21 days ago·Updated 5 days ago· 0
Pertineo Save Image + Metadata
  • images
  • saved_basename
  • saved_paths
◄output_folder►
◄filename_prefixaudit►
◄counter_digits3►
◄format▾►
◄embed_workflowtrue►
◄write_txttrue►
◄write_jsonfalse►
◄metadata_text—►
◄metadata_json—►
◄write_pdffalse►
CategoryPertineo/Audit

Inputs (11)

NameTypeDefaultDescription
imagesIMAGEImage batch to save.
output_folderSTRINGTarget folder. Empty = ComfyUI output folder, a relative path is created inside it, absolute paths are allowed. Created if it does not exist.
filename_prefixSTRINGauditFile name before the counter: <prefix>_001.png. Can be linked (e.g. from a file name). A trailing image extension is removed; 'sub/name' writes into a sub folder.
counter_digitsINT31–8Digits of the counter (3 = _001).
formatCOMBOPNG 8 bit (like Save Image), PNG 16 bit, or EXR 32-bit float. EXR values are converted from sRGB to linear; the workflow is not embedded in EXR files.
embed_workflowBOOLEANtrueEmbed prompt and workflow like the core Save Image node (PNG: the image can be dropped back into ComfyUI, plus the audit JSON if connected) and add the workflow to the .json (credentials redacted). Note: the workflow contains everything typed into the nodes, including local paths – turn off for anonymised sharing.
write_txtBOOLEANtrueWrite <name>.audit.txt with the full readable report.
write_jsonBOOLEANfalseWrite <name>.audit.json with the machine-readable report. With embed_workflow on it also carries the workflow that was run (needed for the audit chain), and <name>.workflow.json is written next to it – it opens directly in ComfyUI.
metadata_textoptSTRINGmetadata_text from Pertineo Collect Metadata.
metadata_jsonoptSTRINGmetadata_json from Pertineo Collect Metadata.
write_pdfoptBOOLEANfalseAlso write <name>.audit.pdf: the readable report on A4 pages with a thumbnail of the image – long lists are shortened (the header says so), the .audit.txt has them in full. Uses a standard PDF font – characters outside Western European scripts (e.g. Chinese) are shown as '?' with a note; the .audit.txt / .audit.json keep them.

Outputs (2)

NameTypeDescription
saved_basenameSTRING—
saved_pathsSTRING—