Nodes/NH-Nodes/NH Save Large Image
ComfyUI Node

NH Save Large Image

Save the full-res file without making your canvas choke

By jetthuangai·Created 5 months ago·Updated 21 days ago· 6
NH Save Large Image
  • image
  • image
  • file_path
  • saved_count
filename_prefixNH_Large
file_formatpng
quality95
embed_metadatatrue

Once you start upscaling, you hit the ComfyUI paradox: your 8K output is beautiful, and every time it previews, the browser grinds to a halt trying to display it on the canvas. NH Save Large Image is the node that saves the full-resolution file to disk without forcing a heavy preview back into the graph. It's the "deliverable, not the thumbnail" node.

Inputs are minimal: image, filename_prefix (default NH_Large), file_format (png, jpg, webp, or tiff), quality (1–100, default 95), and embed_metadata (on by default). It saves each batch item as NH_Large_00001_.png-style files into the standard ComfyUI output folder and returns file_path (the full saved path), saved_count, and - this is the nice touch - the image itself, passed through. So you can save and keep the image flowing to whatever else wants it, in one node.

The quality knob does real work: at 95 with jpg or webp you get visually lossless files at a fraction of png size, and it's the natural dial to turn when a client folder or an upload pipeline cares about weight. embed_metadata ties into the ecosystem's workflow-in-PNG convention - with it on, the file carries the graph that produced it, so dragging it back into ComfyUI rebuilds the workflow. That's a feature, and turning it off is a deliberate "I'm about to share this raw" choice.

Why this over the built-in save

The built-in Save Image also writes files - that's not the difference. The difference is fidelity on the canvas. This node is deliberately lightweight in the UI: it writes the full-resolution file and hands the pipeline a passthrough, rather than stuffing a huge preview into the frontend where it'll lag out. If your workflow regularly ends in an upscale stage, replacing the last Preview with this node keeps the browser snappy while the real file lands on disk. Pair it with NH's Large Image Preview family if you still want an on-canvas thumbnail without the full-res weight.

Install

It's part of NH-Nodes:

  • ComfyUI Manager → search NH-Nodes → install → restart ComfyUI. Or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/jetthuangai/NH-Nodes.git
cd NH-Nodes
pip install -r requirements.txt

Then restart ComfyUI.

No model downloads. tiff support is nice to have if you're doing print work; everything else is stock Pillow.

Common issues

Two things to watch. First, quality is a no-op for png (lossless by design) - if you're setting quality and wondering why the file size didn't budge, you're probably still on png; switch to jpg/webp. Second, this node writes to the ComfyUI output directory with auto-numbered names; there's no custom-folder or custom-name input here. If you need a chosen folder and returned paths, that's Save Image Path (NH). And remember the metadata: if you don't want the workflow embedded in every delivered file, flip embed_metadata off.

CategoryNH-Nodes/Image

Inputs (5)

NameTypeDefaultDescription
imageIMAGE
filename_prefixSTRINGNH_Large
file_formatCOMBOpng4 options: png, jpg, webp, tiff
qualityINT951–100
embed_metadataBOOLEANtrue

Outputs (3)

NameTypeDescription
imageIMAGE
file_pathSTRING
saved_countINT