Nodes/Comfyui-Image-Concat/Image concatenate(V1.2 QQ2540968810)
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.

By shmbatom·Created 7 months ago·Updated 7 months ago· 0
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)

NameTypeDefaultDescription
a1_image_dirSTRINGAbsolute path to the folder containing images to concatenate. Ignored if 'a0_images' are connected via input.
a2_page_widthINT4000100–50000Total width of the output canvas (px). Height is auto-calculated based on aspect ratio.
a3_page_aspect_ratioCOMBO3:2Select the overall aspect ratio of the canvas.
a4_cols_rows_per_pageINT31–20Layout parameter: Columns per row for Mode 1-5, or Rows per page for Mode 6.
a5_page_marginINT500–500Margin space around the canvas border (px).
a6_title_paddingINT300–200Padding space between image title blocks (px).
a7_title_draw_modeCOMBO3.zoom by long side (recommended)Choose how images fit into their blocks (e.g., Scale, Stretch, Crop, Equal Width/Height).
a8_title_first_positionCOMBOstart_from marginAlignment for the first image block (e.g., Top-left alignment, Vertical Centering).
a9_background_styleCOMBOLight (white)Set the canvas background style (White, Black, or Transparent).
a10_title_borderCOMBORounded (radius=10px)Border shape for individual image blocks.
a11_title_border_styleCOMBOSolidLine style for the image block borders (Solid, Dashed, Dotted, etc.).
a12_page_borderCOMBORounded (radius=30px)Border shape for the whole page.
a13_page_border_styleCOMBOSolidLine style for the page border.
a14_filename_positionCOMBOnonePosition to display the filename (Above, Top, Middle, Bottom, Below, or None).
a15_filename_colorCOMBOblackSelect the text color for the filename.
a97_title_save_modeCOMBOnoneSelect whether to save individual blocks (with padding/title or original image only).
a98_title_save_dirSTRING./output/concat_titlesDirectory path to save the individual titles/images.
a99_title_save_filenameCOMBOsource file nameSelect the naming rule for saved files (Index, Original Name, or Page+Index).
a0_imagesoptIMAGEselect image(s) from other node. If 'a0_images' are connected via input, `a1_image_dir` will be IGNORE.

Outputs (6)

NameTypeDescription
b1_concat_imagesIMAGE
b2_page_countINT
b3_size_per_titleSTRING
b4_valid_image_countINT
b5_title_save_pathSTRING
b6_help_infoSTRING