Nodes/lf-nodes/Load PNG (stored values)
ComfyUI Node

Load PNG (stored values)

Load a PNG without changing its values: 8 or 16-bit, alpha kept as the image's fourth channel (and as an uninverted mask), no colour management, orientation or gamma.

By lucafoscili·Created 2 years ago·Updated 5 days ago· 36
Load PNG (stored values)
  • ui_widget
  • image
  • alpha
  • bit_depth
  • receipt
  • image_list
◄image▾►
Category✨ LF Nodes/IO Operations

Inputs (2)

NameTypeDefaultDescription
imageCOMBOPNG to load from ComfyUI's input (or an annotated temp/output reference, or an absolute path). Its stored values are kept: 8 or 16 bits, alpha as a channel.
ui_widgetoptLF_MASONRY[object Object]—

Outputs (5)

NameTypeDescription
imageIMAGEThe image in 0..1: RGB, or RGBA when the file stores alpha; grey is widened to RGB.
alphaMASKThe stored alpha as a mask, not inverted (1 is opaque); all ones when the file has no alpha.
bit_depthINTThe file's bit depth, 8 or 16: wire it into Save PNG to write the same depth back.
receiptJSONlf.load-png.v1: the file, its size, colour type, bit depth and sha256.
image_listIMAGEThe same image as a one-item list.