Nodes/ComfyUI-PanelComposer/Panel Compositor (PanelComposer)
ComfyUI Node

Panel Compositor (PanelComposer)

A ComfyUI node in PanelComposer/Compositing with 12 inputs and 1 output.

By INuBq8·Created 22 days ago·Updated 22 days ago· 13
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)

NameTypeDefaultDescription
layout_jsonSTRING
imagesIMAGE
canvas_modeCOMBO4 options: auto, fixed_preset, fixed_custom, scale_to_input
aspect_ratioCOMBO10 options: 1:1 (Square), 9:7, 4:3 (Standard), A4, 19:13, 3:2 (Classic Photo), +4
fixed_preset_sizeCOMBO3 options: 1080p, 2K, 4K
fixed_custom_megapixelsFLOAT2.00.1–64
page_orientationCOMBO3 options: auto, portrait, landscape
scale_to_input_modeCOMBO2 options: largest, smallest
fit_modeCOMBOcover: 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_algoCOMBOlanczos4 options: nearest, bilinear, bicubic, lanczos
gutter_pxINT60–256
gutter_colorSTRING#000000

Outputs (1)

NameTypeDescription
page_imageIMAGE