Nodes/Suplex Misc ComfyUI Nodes/Save Image JPG No Meta
ComfyUI Node

Save Image JPG No Meta

Save JPGs with zero metadata — no workflow leaked

By saftle·Created 2 years ago·Updated 8 months ago· 3
Save Image JPG No Meta
  • images
    filename_prefixComfyUI
    quality100

    ComfyUI's default Save Image writes PNGs with the full workflow embedded in the file - that's how "workflow included" became culture, and it's genuinely great for sharing. It's also annoying when you don't want the whole graph riding along. Uploading to a client, dropping an image on a website that preserves nothing, or just shipping a small file: PNG-with-metadata is the wrong tool, and so is any saver that embeds parameters. Save Image JPG No Meta writes a JPG and writes nothing else - no workflow, no EXIF, no baggage.

    The node_description says it plainly: "Saves the input images to your ComfyUI output directory." Which is exactly what it does, as JPEG, at the quality you choose, with optimize=True and no metadata chunks. If you've ever opened a ComfyUI PNG in a text editor and watched your whole node graph scroll by, you know why this exists.

    Inputs

    • images - IMAGE socket, usually the output of a VAE Decode.
    • filename_prefix - default "ComfyUI". Files land in your standard output folder with this prefix, plus an incrementing counter.
    • quality - default 100, range 1–100. Note that JPEG at 100 is still lossy and large; for web uploads the usual sweet spot is 85–92, where the file shrinks a lot and the eye can't tell.

    It's an output node - nothing comes out of it, which is normal for savers.

    The gotcha that will bite you

    This one is grounded in the source, so it's worth spelling out. The actual file write happens after the batch loop. Feed it a single image and it's flawless. Feed it a batch of several images and the UI will list a filename for every image in the batch, but only the last one actually gets written to disk. If you're testing with a batch of four and wondering where three files went, that's it.

    Workaround: feed it one image at a time (batch of 1). For genuine multi-image JPG batch saves, use a different saver - plenty of packs handle that properly - or accept the metadata trade-off and use the core Save Image.

    Install

    Standard for this pack: ComfyUI Manager → search "uber_comfy_nodes" ("Suplex Misc ComfyUI Nodes") → install → restart. Or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/saftle/uber_comfy_nodes
    

    Restart and look under Uber Comfy. Requirements are Pillow, numpy, psutil and pynvml - and since it extends the core SaveImage node, it inherits the standard output-folder behavior you already know.

    CategoryUber Comfy

    Inputs (3)

    NameTypeDefaultDescription
    imagesIMAGE
    filename_prefixSTRINGComfyUI
    qualityINT1001–100

    Outputs (0)

    No outputs