Visit ComfyUI Online for ready-to-use ComfyUI environment
Create visually appealing image grids with specified columns for structured presentation and comparison.
The ImagesGridByColumns
node is designed to help you create a visually appealing grid of images by arranging them into a specified number of columns. This node is particularly useful when you have a collection of images and want to display them in a structured format, making it easier to compare and analyze them. By specifying the maximum number of columns, the node automatically calculates the necessary number of rows to accommodate all the images, ensuring a balanced and organized layout. This functionality is ideal for creating image galleries, contact sheets, or any scenario where a neat and orderly presentation of multiple images is required.
This parameter expects a list of images that you want to arrange into a grid. Each image should be in the format of a tensor. The images will be converted to a grid based on the specified number of columns and other parameters.
The gap
parameter defines the amount of space (in pixels) between each image in the grid. This helps to create a clear separation between images, making the grid more visually appealing. The default value is 0, and it must be a non-negative integer.
The max_columns
parameter specifies the maximum number of columns in the grid. The node will automatically calculate the number of rows needed to fit all the images based on this value. The default value is 1, and it must be a positive integer.
The annotation
parameter allows you to add text annotations to the grid. This can include column and row labels, which can be useful for adding context or additional information to the images. The annotation should be in the format of a GRID_ANNOTATION
object.
The output is a single image tensor representing the grid of images arranged according to the specified parameters. This grid image can be used for further processing, analysis, or display purposes.
max_columns
parameter to your desired value. The node will handle the rest, ensuring all images fit within the specified columns.gap
parameter to add spacing between images, which can enhance the visual separation and clarity of the grid.annotation
parameter to provide additional context or information for each row and column.annotation
parameter.max_columns
parameter. Adjust the number of images or the max_columns
value accordingly.© Copyright 2024 RunComfy. All Rights Reserved.