๐พ CR Image Output
One node that previews or saves in ComfyUI
- images
- trigger
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, orUI (no batch). This is the mode switch you'll actually use.file_format-png,jpg,webp, ortif.filename_prefix- the name stem (defaultCR);prefix_presetscan prepend ayyyyMMdddate so your files sort chronologically without hand-naming.images- what you're outputting.- The optional
triggerboolean input and thetriggerboolean 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.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | โ | |
| output_type | COMBO | 3 options: Preview, Save, UI (no batch) | |
| filename_prefix | STRING | CR | โ |
| prefix_presets | COMBO | 2 options: None, yyyyMMdd | |
| file_format | COMBO | 4 options: png, jpg, webp, tif | |
| triggeropt | BOOLEAN | false | โ |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| trigger | BOOLEAN | โ |