Nodes/DemonAlone-nodes-ComfyUI/Save Image With No Meta
ComfyUI Node

Save Image With No Meta

Strip the workflow out of your PNGs on purpose

By DemonAlone·Created 7 months ago·Updated 22 days ago· 3
Save Image With No Meta
  • image
    pathComfyUI
    format
    previewtrue
    date_maskfalse
    custom_date_formatyyyy-mm-dd

    ComfyUI's default Save Image node does something most users love and occasionally regret: it embeds the entire workflow as JSON inside the PNG's metadata. That's not an accident, it's core to the culture - "workflow included" is practically a norm in this community, and posts that withhold it draw genuine backlash. Drag the PNG back into ComfyUI and the whole graph reconstructs. Save Image With No Meta is the opt-out. It writes the same image, minus that embedded JSON.

    Why you'd deliberately turn it off

    A few real reasons this comes up. If you've spent real effort tuning a workflow - a client commission, a competitive prompt, a carefully built LoRA stack - the embedded metadata is a free copy of your work handed to anyone who downloads the image. Some platforms and social feeds strip it anyway on upload, so keeping it around only matters for direct file shares. And it's simply extra bytes in every file you ever save, which adds up across a big batch.

    The trade-off is real too: strip the metadata and you lose ComfyUI's drag-and-drop workflow recall. If you might want to reproduce or tweak this exact run later, export the workflow (.json, via ComfyUI's Export or Export (API Format)) separately before you rely on this node - don't count on the PNG to remember it for you.

    The inputs that matter

    • image (IMAGE, required) - what you're saving.
    • path (STRING, default "ComfyUI") - a relative path inside the output folder. The author's own tooltip: use %date% for date substitution, so you can route outputs into dated subfolders automatically.
    • format (enum: png / jpg) - PNG for lossless with transparency support, JPG when file size matters more and you don't need an alpha channel.
    • preview (BOOLEAN, default true) - shows the saved image in the UI as usual.
    • date_mask (BOOLEAN, default false) and custom_date_format (STRING, default "yyyy-mm-dd", tooltip: date format if the custom mask is enabled, e.g. yyyy, dd-mm-yyyy) - turn this on to control exactly how the date stamp is formatted, instead of accepting the default.

    It's a terminal node (no outputs) - it saves and that's the end of that branch. It also handles auto-indexing, so repeated saves to the same path get numbered (00001.png, 00002.png, ...) instead of overwriting each other.

    How to install it

    ComfyUI Manager: search DemonAlone-nodes-ComfyUI, install, restart. Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/DemonAlone/DemonAlone-nodes-ComfyUI
    

    then restart. No extra dependencies or model downloads - it's writing files with Python's standard image libraries, nothing more.

    Common issues & troubleshooting

    I can't remember how I made an old image. That's the expected cost of using this node instead of stock Save Image - there's no metadata to recover the settings from. Get in the habit of exporting the workflow JSON alongside anything you'll want to revisit, especially for an XYZ-style sweep where you're comparing many outputs and will want to know which settings produced which.

    Files aren't landing where I expect. path is relative to ComfyUI's output folder, not an absolute path - check %date% is actually resolving (it needs date_mask context to format correctly) rather than being written literally into the folder name.

    JPG output looks different from PNG. JPG is lossy and drops any transparency; if you're saving something with an alpha channel, PNG is the only option here that preserves it.

    Someone else can't reload my workflow from the image I sent them. That's not a bug, that's the entire point of this node - if sharing the workflow matters more than hiding it in your case, use stock Save Image instead for that particular output.

    CategoryImageSaver

    Inputs (6)

    NameTypeDefaultDescription
    imageIMAGE
    pathSTRINGComfyUIRelative path inside `output`. Use %date% for date.
    formatCOMBO2 options: png, jpg
    previewBOOLEANtrue
    date_maskBOOLEANfalse
    custom_date_formatSTRINGyyyy-mm-ddDate format if custom mask is enabled (e.g., yyyy, dd-mm-yyyy)

    Outputs (0)

    No outputs