ComfyUI Node
Save PNG (stored values)
Save images as PNG keeping what was computed: each value rounded to the nearest 8 or 16-bit level (Core's save truncates), alpha written as alpha, and no prompt or other metadata.
Save PNG (stored values)
- image
- ui_widget
- file_names
- receipt
◄filename_prefixLF_Nodes/PNG►
◄bit_depth8►
◄compress_level4►
Category✨ LF Nodes/IO Operations
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Images to save. RGB saves as RGB, RGBA keeps its alpha channel as stored alpha. | |
| filename_prefix | STRING | LF_Nodes/PNG | Output-relative path and filename prefix; a counter and .png are added. |
| bit_depth | INT | 88–16 | 8 or 16 bits per channel. Wire Load PNG's bit_depth here to keep a file's depth. |
| compress_level | INT | 40–9 | PNG compression effort, 0 to 9. Lossless at every level: only size and time change. |
| ui_widgetopt | LF_MASONRY | [object Object] | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| file_names | STRING | Ordered output-relative PNG filenames. |
| receipt | JSON | lf.save-png.v1: each file's size, channels, bit depth and sha256. |