Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently organize and visualize multiple images in a grid format for AI artists.
The Create Grid Image from Batch node is designed to help you efficiently organize and visualize multiple images by arranging them into a grid format. This node is particularly useful for AI artists who need to compile a large number of images into a single, cohesive visual representation. By specifying various parameters such as the number of columns, cell size, and border properties, you can customize the appearance of the grid to suit your needs. This node simplifies the process of creating a grid image, saving you time and effort while ensuring a professional and organized output.
This parameter specifies the directory path where the images are located. It is essential to provide a valid path to ensure the node can access and process the images. If the path does not exist, the node will return an error.
This parameter allows you to define a pattern to match specific image files within the directory. By default, it is set to "*", which means all files will be considered. You can customize this pattern to include only certain types of files or filenames.
This parameter determines whether the node should include images from subfolders within the specified directory. Set to "false" by default, you can change it to "true" if you want to include images from subfolders.
This parameter defines the number of columns in the grid. The default value is 6, but you can adjust it to fit your desired layout. Increasing the number of columns will result in more images per row, while decreasing it will result in fewer images per row.
This parameter sets the maximum size of each cell in the grid. The default value is 256 pixels. Adjusting this value will change the dimensions of each image cell, allowing you to control the overall size of the grid image.
This parameter specifies the width of the border around each image cell. The default value is 3 pixels. Setting this value to 0 will remove the border entirely.
This parameter sets the red component of the border color. The default value is 0. You can adjust this value to change the color of the border.
This parameter sets the green component of the border color. The default value is 0. You can adjust this value to change the color of the border.
This parameter sets the blue component of the border color. The default value is 0. You can adjust this value to change the color of the border.
The output of this node is a single image tensor representing the grid of images. This tensor can be used for further processing or visualization within your AI art projects. The grid image will reflect the specified input parameters, including the number of columns, cell size, and border properties.
images_path
is correct and accessible to avoid errors.pattern_glob
parameter to filter specific types of images, such as ".jpg" or ".png".number_of_columns
to fit the desired layout and ensure the grid is visually appealing.max_cell_size
to control the overall size of the grid image, especially if you have images of varying dimensions.<images_path>
does not exist!images_path
is correct and that the directory exists. Ensure there are no typos or missing directories in the path.pattern_glob
.pattern_glob
to ensure it correctly matches the filenames of the images you want to include. Adjust the pattern if necessary.border_red
, border_green
, or border_blue
are not within the valid range (0-255).© Copyright 2024 RunComfy. All Rights Reserved.