Visit ComfyUI Online for ready-to-use ComfyUI environment
Create visually appealing image grids arranged by rows with automatic column calculation for balanced layouts.
The ImagesGridByRows
node is designed to help you create a visually appealing grid of images arranged by rows. This node is particularly useful when you have a collection of images and you want to display them in a structured format, making it easier to compare and analyze them side by side. By specifying the maximum number of rows, the node automatically calculates the necessary number of columns to accommodate all images, ensuring a balanced and organized layout. This functionality is ideal for creating image galleries, comparison charts, or any visual presentation where a grid format enhances clarity and aesthetics.
This parameter expects a list of images that you want to arrange in a grid. Each image should be in the format of a tensor. The images will be converted internally to a format suitable for grid creation.
The gap
parameter defines the space between each image in the grid. It is an integer value with a default of 0, meaning no gap. You can increase this value to add more space between images, which can help in distinguishing individual images more clearly. The minimum value is 0, and there is no explicit maximum value, but it should be a reasonable number based on your grid size.
The max_rows
parameter specifies the maximum number of rows in the grid. It is an integer value with a default of 1, meaning all images will be placed in a single row if not specified otherwise. The minimum value is 1, and there is no explicit maximum value, but it should be set according to the number of images and the desired layout.
This optional parameter allows you to add annotations to your grid. It accepts an Annotation
object that includes column texts, row texts, and a font. This can be useful for adding labels or descriptions to your grid, enhancing the informational value of the visual presentation.
The output of this node is a single image tensor representing the grid of images arranged by rows. This output can be used directly in your projects or further processed as needed. The grid image will include all the input images arranged according to the specified parameters, providing a clear and organized visual representation.
max_rows
parameter is set appropriately based on the total number of images you have.gap
parameter to add space between images, which can help in distinguishing individual images more clearly.annotation
parameter to add informative labels or descriptions to your grid, making it more useful for presentations or analysis.annotation
parameter.annotation
parameter to avoid this error.max_rows
parameter.max_rows
parameter is set correctly and that the number of images can be evenly distributed within the specified rows.© Copyright 2024 RunComfy. All Rights Reserved.