Nodes/ComfyUI_fsdymy/Save Image Without Metadata (fsdymy)
ComfyUI Node

Save Image Without Metadata (fsdymy)

Every ComfyUI PNG is a workflow confession. This save node keeps it quiet.

By fsdymy1024·Created 2 years ago·Updated 2 years ago· 12
Save Image Without Metadata (fsdymy)
  • images
    filename_prefixComfyUInoMetadata

    Every time ComfyUI saves a PNG, it buries your whole workflow inside the file - the full graph, every node, every widget value you last typed. Drag one of your own outputs back onto the canvas and the entire pipeline reconstructs. That's normally the feature: "workflow included" became a genuine community norm because one image is a shareable recipe. But sometimes you don't want the recipe in there. You're posting a preview for a client, you've spent weeks iterating on a workflow you'd rather not hand out, or you're archiving a batch and don't want 200 copies of your pipeline JSON cluttering the files. SaveImageWithoutMetadata is the drop-in for those moments.

    What it actually does

    It's the built-in SaveImage, one line different. Same save-to-ComfyUI/output behavior, same PNG compression level (4, the ComfyUI default), same file counter and subfolder handling. The only change is that it writes the file with pnginfo=None, so no workflow or prompt chunk lands in the PNG. The filename_prefix input (default ComfyUInoMetadata) works exactly like the core node's - set it per save or leave it, and the counter keeps files from colliding.

    The node takes just two inputs:

    • images (IMAGE) - your decoded image tensor
    • filename_prefix (STRING) - output name prefix, default ComfyUInoMetadata

    No outputs, because it's an output node: it reports the saved files back to the UI, which is how the preview in your browser works.

    How to install it

    It ships in the small Chinese utility pack ComfyUI_fsdymy alongside three sibling nodes. Easiest route is ComfyUI Manager - search for "ComfyUI_fsdymy" and install. Or do it by hand:

    cd ComfyUI/custom_nodes
    git clone https://github.com/fsdymy1024/ComfyUI_fsdymy
    

    Restart ComfyUI and you'll find the node under fsdymy/image. No model downloads at all. One honest heads-up: the pack's requirements.txt pulls in the zhipuai SDK even if you only want this node - harmless, it just installs a Python package you'll never use unless you also touch the pack's LLM node.

    When it bites

    • It only strips metadata going forward. Files you've already saved keep their embedded workflows. For old files, scrub them with exiftool -all= image.png.
    • "Without metadata" means without ComfyUI's workflow/prompt chunks. The image data itself is unchanged - this is not a privacy guarantee, just a cleaner file.
    • ComfyUI's own settings can stop embedding workflows globally. This node exists so you don't have to flip that switch for everyone; it's per-save.

    The pack itself is a one-commit, effectively unmaintained hobby repo from mid-2024. Normally that'd worry me, but this node is roughly forty lines that mirror ComfyUI's core save logic - there's very little here to rot. If you want a stripped PNG at a normal output path without touching your global defaults, this is a perfectly boring, dependable choice.

    Categoryfsdymy/image

    Inputs (2)

    NameTypeDefaultDescription
    imagesIMAGE
    filename_prefixSTRINGComfyUInoMetadata

    Outputs (0)

    No outputs