Nodes/ComfyUI-Pixaroma/Image Info Pixaroma
ComfyUI Node

Image Info Pixaroma

Unpack a tiny image loader into all the outputs you actually need

By pixaroma·Created 5 months ago·Updated 4 days ago· 357
Image Info Pixaroma
  • image_info
  • image
  • mask
  • width
  • height
  • filename

Image Info Pixaroma is the answer to a very ComfyUI problem: you want all the information about an image, but you don't want a loader node that's bigger than your monitor. It's the companion to Load Image Mini Pixaroma, which deliberately keeps its face tiny and hands you just two outputs - the image and a little image_info bundle. This node unpacks that bundle into the full set of outputs, on demand.

The trade is the whole point: most workflows only need IMAGE, so why drag a heavy loader around? Wire Image Info in only when you actually need the extras. The node's one required input is image_info ("The image_info bundle from a Load Image Mini Pixaroma node"), and it returns:

  • image - the same image the loader already gave you
  • mask - pulled from the image's alpha channel (blank if it has none)
  • width and height - the pixel dimensions after any inline resize the mini loader applied
  • filename - the source filename

Those last three are the sneaky-useful ones. width and height feed straight into an empty latent or a Resolution node so your generated image matches the source, and filename lets a save node reuse the original name - a common setup is Load Image Mini → Image Info → empty latent for img2img at the source size.

Where it shines

Load Image Mini is what you want on a clean canvas: upload, drag-drop, Ctrl+V paste, arrow-key file browsing, all the resize modes tucked into a gear panel, and just two outputs. It even shows the size and filename right on its face. But the moment you need a mask or a size wire, the mini loader alone is stuck. That's the branch point: leave the loader compact, drop an Image Info next to it, and only pull the wires you need. It's the same philosophy as Pixaroma's Set/Get nodes - keep the canvas clean, unpack detail where it's wanted.

Installing it

Image Info ships in the ComfyUI-Pixaroma pack, so installing this one node installs the suite. ComfyUI Manager: search Pixaroma, Install, restart. Or:

cd ComfyUI/custom_nodes
git clone https://github.com/pixaroma/ComfyUI-Pixaroma

No extra Python dependencies - the pack declares none for core nodes, and it needs its sibling Load Image Mini to have anything to unpack.

Gotchas

Not many, because the node is nearly empty by design. The two worth knowing:

  • It needs the bundle from Load Image Mini. Feeding it anything else won't type-check - the input is the pack's own PIX_IMAGE_INFO type, so it only connects to a Mini loader's image_info output. No other loader produces that bundle.
  • mask is only populated when the source has an alpha channel. A flat PNG or JPG gives you a blank mask, not an error. If you need a mask from something without transparency, you're better off with a dedicated mask/alpha-from-image node.

After a pack update, remember the one house rule: hard-refresh your browser tab (Ctrl+Shift+R / Cmd+Shift+R) so you're not staring at cached JS. A "blank node" right after updating is that, not a bug.

Category👑 Pixaroma/🖼️ Image

Inputs (1)

NameTypeDefaultDescription
image_infoPIX_IMAGE_INFOThe image_info bundle from a Load Image Mini Pixaroma node.

Outputs (5)

NameTypeDescription
imageIMAGEThe image from the bundle (same as the loader's image output).
maskMASKThe image's mask, from its alpha channel (blank if it has none).
widthINTImage width in pixels, after any resize.
heightINTImage height in pixels, after any resize.
filenameSTRINGThe image's filename.