ComfyUI > Nodes > ComfyUI-RAVE > ImageGridCompose

ComfyUI Node: ImageGridCompose

Class Name

ImageGridCompose

Category
RAVE/Image
Author
spacepxl (Account age: 295days)
Extension
ComfyUI-RAVE
Latest Updated
2024-05-22
Github Stars
0.08K

How to Install ComfyUI-RAVE

Install this extension via the ComfyUI Manager by searching for ComfyUI-RAVE
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-RAVE in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ImageGridCompose Description

Create composite image grids with flexibility in dimensions, padding, and randomization for efficient visualization and comparison.

ImageGridCompose:

The ImageGridCompose node is designed to help you create a composite image grid from a collection of individual images. This node is particularly useful for visualizing multiple images in a structured and organized manner, making it easier to compare and analyze them side by side. By arranging images into a grid format, you can achieve a cohesive and aesthetically pleasing presentation. The node offers flexibility in terms of grid dimensions, padding, and randomization, allowing you to customize the output to suit your specific needs. Whether you are creating a collage, a storyboard, or simply organizing your images, ImageGridCompose provides a straightforward and efficient solution.

ImageGridCompose Input Parameters:

images

This parameter accepts a collection of images that you want to arrange into a grid. The images should be in a compatible format and will be processed to fit into the specified grid dimensions.

x_dim

This integer parameter determines the number of images to be placed in each row of the grid. It has a default value of 3, with a minimum value of 2 and a maximum value of 8. Adjusting this parameter will change the layout of the grid, affecting how many images are displayed horizontally.

pad_grid

This boolean parameter specifies whether to add padding between the images in the grid. The default value is False. When set to True, a padding of 8 pixels will be added between images, creating a more spaced-out grid.

random

This boolean parameter controls whether the images should be randomly shuffled before being arranged in the grid. The default value is False. When set to True, the images will be displayed in a random order, which can be useful for creating varied and dynamic compositions.

rs

This integer parameter sets the random seed for shuffling the images when the random parameter is enabled. It has a default value of 0 and can range from 0 to 0xffffffffffffffff. Setting a specific seed ensures reproducibility of the random order.

ImageGridCompose Output Parameters:

IMAGE

The output is a single composite image that contains the input images arranged in the specified grid format. This composite image can be used for further processing, analysis, or presentation.

ImageGridCompose Usage Tips:

  • To create a visually appealing collage, experiment with different x_dim values to find the optimal grid layout for your images.
  • Enable the pad_grid option to add spacing between images, which can help to distinguish individual images more clearly.
  • Use the random parameter to shuffle images and create a dynamic and varied grid. Set the rs parameter to a specific value to reproduce the same random order if needed.

ImageGridCompose Common Errors and Solutions:

"Input images are not in a compatible format"

  • Explanation: The images provided are not in a format that the node can process.
  • Solution: Ensure that all input images are in a compatible format, such as PNG or JPEG.

"x_dim value is out of range"

  • Explanation: The x_dim parameter is set to a value outside the allowed range (2-8).
  • Solution: Adjust the x_dim parameter to a value between 2 and 8.

"Random seed value is out of range"

  • Explanation: The rs parameter is set to a value outside the allowed range (0 to 0xffffffffffffffff).
  • Solution: Ensure that the rs parameter is within the valid range.

"Insufficient images to fill the grid"

  • Explanation: The number of input images is not enough to fill the specified grid dimensions.
  • Solution: Provide more images or adjust the x_dim parameter to create a smaller grid.

ImageGridCompose Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-RAVE
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.