Nodes/lf-nodes/Save PNG (stored values)
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.

By lucafoscili·Created 2 years ago·Updated 5 days ago· 36
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)

NameTypeDefaultDescription
imageIMAGEImages to save. RGB saves as RGB, RGBA keeps its alpha channel as stored alpha.
filename_prefixSTRINGLF_Nodes/PNGOutput-relative path and filename prefix; a counter and .png are added.
bit_depthINT88–168 or 16 bits per channel. Wire Load PNG's bit_depth here to keep a file's depth.
compress_levelINT40–9PNG compression effort, 0 to 9. Lossless at every level: only size and time change.
ui_widgetoptLF_MASONRY[object Object]—

Outputs (2)

NameTypeDescription
file_namesSTRINGOrdered output-relative PNG filenames.
receiptJSONlf.save-png.v1: each file's size, channels, bit depth and sha256.