ComfyUI Node
Panel Compositor (PanelComposer)
A ComfyUI node in PanelComposer/Compositing with 12 inputs and 1 output.
Panel Compositor (PanelComposer)
- images
- page_image
◄layout_json—►
◄canvas_mode▾►
◄aspect_ratio▾►
◄fixed_preset_size▾►
◄fixed_custom_megapixels2.0►
◄page_orientation▾►
◄scale_to_input_mode▾►
◄fit_mode▾►
◄scale_algolanczos►
◄gutter_px6►
◄gutter_color#000000►
CategoryPanelComposer/Compositing
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| layout_json | STRING | — | |
| images | IMAGE | — | |
| canvas_mode | COMBO | 4 options: auto, fixed_preset, fixed_custom, scale_to_input | |
| aspect_ratio | COMBO | 10 options: 1:1 (Square), 9:7, 4:3 (Standard), A4, 19:13, 3:2 (Classic Photo), +4 | |
| fixed_preset_size | COMBO | 3 options: 1080p, 2K, 4K | |
| fixed_custom_megapixels | FLOAT | 2.00.1–64 | — |
| page_orientation | COMBO | 3 options: auto, portrait, landscape | |
| scale_to_input_mode | COMBO | 2 options: largest, smallest | |
| fit_mode | COMBO | cover: fill panel, crop overflow. contain: fit inside panel, pad the rest. stretch: fill panel exactly, ignore aspect ratio. fit_to_shape: warp image to match non-rectangular panels (EXPERIMENTAL — only the built-in presets are verified; check the result on custom/drawn shapes). | |
| scale_algo | COMBO | lanczos | 4 options: nearest, bilinear, bicubic, lanczos |
| gutter_px | INT | 60–256 | — |
| gutter_color | STRING | #000000 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| page_image | IMAGE | — |