ComfyUI Node
Image concatenate(V1.2 QQ2540968810)
A powerful image concatenation tool for ComfyUI, with True Alpha Channel Support and Multiple Image-title Fill Modes. It can also be used as a image-resize tool.
Image concatenate(V1.2 QQ2540968810)
- a0_images
- b1_concat_images
- b2_page_count
- b3_size_per_title
- b4_valid_image_count
- b5_title_save_path
- b6_help_info
◄a1_image_dir►
◄a2_page_width4000►
◄a3_page_aspect_ratio3:2►
◄a4_cols_rows_per_page3►
◄a5_page_margin50►
◄a6_title_padding30►
◄a7_title_draw_mode3.zoom by long side (recommended)►
◄a8_title_first_positionstart_from margin►
◄a9_background_styleLight (white)►
◄a10_title_borderRounded (radius=10px)►
◄a11_title_border_styleSolid►
◄a12_page_borderRounded (radius=30px)►
◄a13_page_border_styleSolid►
◄a14_filename_positionnone►
◄a15_filename_colorblack►
◄a97_title_save_modenone►
◄a98_title_save_dir./output/concat_titles►
◄a99_title_save_filenamesource file name►
CategoryImage Processing/concat
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| a1_image_dir | STRING | Absolute path to the folder containing images to concatenate. Ignored if 'a0_images' are connected via input. | |
| a2_page_width | INT | 4000100–50000 | Total width of the output canvas (px). Height is auto-calculated based on aspect ratio. |
| a3_page_aspect_ratio | COMBO | 3:2 | Select the overall aspect ratio of the canvas. |
| a4_cols_rows_per_page | INT | 31–20 | Layout parameter: Columns per row for Mode 1-5, or Rows per page for Mode 6. |
| a5_page_margin | INT | 500–500 | Margin space around the canvas border (px). |
| a6_title_padding | INT | 300–200 | Padding space between image title blocks (px). |
| a7_title_draw_mode | COMBO | 3.zoom by long side (recommended) | Choose how images fit into their blocks (e.g., Scale, Stretch, Crop, Equal Width/Height). |
| a8_title_first_position | COMBO | start_from margin | Alignment for the first image block (e.g., Top-left alignment, Vertical Centering). |
| a9_background_style | COMBO | Light (white) | Set the canvas background style (White, Black, or Transparent). |
| a10_title_border | COMBO | Rounded (radius=10px) | Border shape for individual image blocks. |
| a11_title_border_style | COMBO | Solid | Line style for the image block borders (Solid, Dashed, Dotted, etc.). |
| a12_page_border | COMBO | Rounded (radius=30px) | Border shape for the whole page. |
| a13_page_border_style | COMBO | Solid | Line style for the page border. |
| a14_filename_position | COMBO | none | Position to display the filename (Above, Top, Middle, Bottom, Below, or None). |
| a15_filename_color | COMBO | black | Select the text color for the filename. |
| a97_title_save_mode | COMBO | none | Select whether to save individual blocks (with padding/title or original image only). |
| a98_title_save_dir | STRING | ./output/concat_titles | Directory path to save the individual titles/images. |
| a99_title_save_filename | COMBO | source file name | Select the naming rule for saved files (Index, Original Name, or Page+Index). |
| a0_imagesopt | IMAGE | select image(s) from other node. If 'a0_images' are connected via input, `a1_image_dir` will be IGNORE. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| b1_concat_images | IMAGE | — |
| b2_page_count | INT | — |
| b3_size_per_title | STRING | — |
| b4_valid_image_count | INT | — |
| b5_title_save_path | STRING | — |
| b6_help_info | STRING | — |