Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently arrange images into structured grid format for AI artists, with customizable rows, columns, and spacing.
The iToolsGridFiller
node is designed to efficiently arrange multiple images into a structured grid format, making it an invaluable tool for AI artists looking to create visually appealing compositions. This node allows you to specify the number of rows and columns, the size of the grid, and the gap between images, providing flexibility in how images are displayed. It also supports setting a background color and choosing the direction in which images are filled, either by rows or columns. By automating the process of image arrangement, iToolsGridFiller
saves time and ensures consistency, making it easier to create complex image layouts without manual adjustments.
This parameter accepts a list of images that you want to arrange in the grid. The images are converted from tensors to Pillow images for processing. The quality and resolution of the final grid depend on the input images, so ensure they are of suitable quality for your needs.
The width of the grid in pixels. This determines how wide the entire grid will be, affecting the size of each individual image within the grid. There is no explicit minimum or maximum value, but it should be set according to the desired output size.
The height of the grid in pixels. Similar to the width, this parameter defines the overall height of the grid, influencing the dimensions of each image. Choose a value that matches your intended output size.
The number of rows in the grid. This parameter dictates how many horizontal layers of images will be present. A higher number of rows will result in smaller individual images if the grid size remains constant.
The number of columns in the grid. This parameter specifies how many vertical layers of images will be included. Like rows, increasing the number of columns will reduce the size of each image if the grid size is unchanged.
The gap between images, expressed as a percentage. This parameter controls the spacing between images, allowing for a more open or compact layout. The default value is 0.05, but it can be adjusted to suit your design preferences.
The color of the grid's background, specified in a color code format (e.g., #ffffff
for white). This parameter sets the backdrop against which the images are placed, which can enhance the visual appeal of the grid.
The direction in which images are filled into the grid, either rows
or columns
. This parameter affects the order in which images are placed, allowing for different visual flows in the grid layout.
The output is a tensor representation of the processed grid image. This tensor can be used in further processing or saved as an image file. It encapsulates the entire grid with all images arranged according to the specified parameters, ready for use in your projects.
#ffffff
for white) to set the background color.rows
or columns
to avoid errors in image arrangement.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.