Nodes/Comfyroll Studio/๐Ÿ’พ CR Image Output
ComfyUI Node Runs on cloud

๐Ÿ’พ CR Image Output

One node that previews or saves in ComfyUI

By Suzie1ยทCreated 3 years agoยทUpdated 2 years agoยท 1,296
๐Ÿ’พ CR Image Output
  • images
  • trigger
โ—„output_typeโ–พโ–บ
โ—„filename_prefixCRโ–บ
โ—„prefix_presetsโ–พโ–บ
โ—„file_formatโ–พโ–บ
โ—„triggerfalseโ–บ

Honestly, this is the one Comfyroll node a lot of people keep even if they use nothing else from the pack. CR Image Output replaces both of ComfyUI's stock endpoints - Preview Image and Save Image - with a single node that has a mode switch. Building and iterating? Set it to Preview. Happy with the result? Flip it to Save. No swapping nodes, no dangling second save node you forget to delete.

It's one of the "essential / core" nodes in Comfyroll Studio, the utility pack by Suzie1 and RockOfFire, and it's genuinely a small quality-of-life upgrade over the defaults.

Why it's nice

Beyond the preview/save toggle, it saves to more formats than stock ComfyUI (png, jpg, webp, tif - webp alone is worth it for shrinking outputs), and it can date-stamp filenames automatically. It's an output node, so it terminates a branch of your graph the same way Save Image does.

The inputs and outputs that matter

  • output_type - Preview, Save, or UI (no batch). This is the mode switch you'll actually use.
  • file_format - png, jpg, webp, or tif.
  • filename_prefix - the name stem (default CR); prefix_presets can prepend a yyyyMMdd date so your files sort chronologically without hand-naming.
  • images - what you're outputting.
  • The optional trigger boolean input and the trigger boolean output are for chaining/gating: the node passes a boolean downstream so you can build conditional or sequenced logic around when things save. Most people leave it alone; it's there when you need queue/flow control.

Installing it

ComfyUI Manager โ†’ search Comfyroll Studio โ†’ install โ†’ restart. Or:

cd ComfyUI/custom_nodes
git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes

then restart. No model downloads.

Common issues

You're on Preview and wondering where your files went. Nothing saves in Preview mode - that's the point. Switch output_type to Save.

Saved files land in the usual place. Outputs go to ComfyUI's standard output directory under your filename_prefix; if you can't find them, check that folder rather than assuming it failed.

jpg/webp look slightly different from the png preview. They're lossy formats - expect minor compression differences. Use png or tif if you need the exact pixels.

Category๐Ÿงฉ Comfyroll Studio/โœจ Essential/๐Ÿ“ฆ Core

Inputs (6)

NameTypeDefaultDescription
imagesIMAGEโ€”
output_typeCOMBO3 options: Preview, Save, UI (no batch)
filename_prefixSTRINGCRโ€”
prefix_presetsCOMBO2 options: None, yyyyMMdd
file_formatCOMBO4 options: png, jpg, webp, tif
triggeroptBOOLEANfalseโ€”

Outputs (1)

NameTypeDescription
triggerBOOLEANโ€”