Load Image Pixaroma
The Load Image that also resizes, so you can skip three nodes
- image
- mask
- width
- height
- filename
- original_width
- original_height
The stock ComfyUI Load Image is fine until the image you're loading isn't the size your model wants - and then you're adding a Get Image Size node and an Image Scale node, which spawns a mask problem, and suddenly three nodes exist to fix what one loader should have handled. Load Image Pixaroma is a drop-in replacement for the native node that absorbs most of that chain: it loads like the original (upload, drag-drop, Ctrl+V paste, multi-frame, alpha-to-mask), then resizes inline with real controls. The author introduced it in one of the pack's r/comfyui update posts as a direct answer to the resize-chain pain, and it's the single most likely Pixaroma node to quietly become your default loader.
How it works
Nothing exotic under the hood - it's a loader with a resizer bolted on, both in the browser and in the node's execute step. The part people actually use is the resize suite on the node:
- Off - load as-is.
- Max megapixels - cap the total pixel count.
- Longest side - force the long edge to a value.
- Scale by × - a plain multiplier.
- Fit inside - scale down to fit a box, keeping aspect.
- Crop to fill - scale to fill a box exactly, cropping overflow.
- Match aspect ratio - with Crop or Pad sub-options (12 ratio presets plus custom, with a color picker for the pad color).
On top of that: snap to a multiple of 8/16/32/64 (models are happier with clean multiples - see the resolution guidance in the KB), a resample picker (Auto/Nearest/Bilinear/Bicubic/Lanczos), and an Allow upscaling toggle so a small reference doesn't get silently blown up. Numeric fields accept math (1024+64, 512*2) and arrow keys with Shift for 10× stepping, and a live Input → Output bar shows the exact dimensions the workflow will produce as you tweak.
Outputs
image- the loaded image, post-resize.mask- from the alpha channel (blank if there is none).width/height- post-resize, so you can feed an empty latent directly.filename- no extension. Wire it into a save node to keep the original name.original_width/original_height- what the file was before you touched it.
That's the whole pitch: WIDTH/HEIGHT/FILENAME come out of the loader, so the Get Image Size + Image Scale chains disappear from most workflows.
Install
Part of the Pixaroma pack:
cd ComfyUI/custom_nodes
git clone https://github.com/pixaroma/ComfyUI-Pixaroma
or ComfyUI Manager → search Pixaroma → install, restart. No required dependencies beyond ComfyUI's own. Works in both the classic and the new node interface, and it's a true swap-in - same file handling as native, so existing habits carry over. Usual update rule: visuals look stale, hard-refresh the browser with Ctrl+Shift+R before filing a bug.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| image | COMBO | The image to load from ComfyUI's input folder. Use the Upload Image button, drag a file onto the node, paste from the clipboard, or pick one from the dropdown. |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The loaded image, after any resize. |
| mask | MASK | The image's mask, from its alpha channel (blank if it has none). |
| width | INT | Output width in pixels, after any resize. |
| height | INT | Output height in pixels, after any resize. |
| filename | STRING | The image's filename. |
| original_width | INT | Width of the original image, before any resize. |
| original_height | INT | Height of the original image, before any resize. |