ComfyUI > Nodes > Comfy_KepListStuff > Stack Images(Deprecated)

ComfyUI Node: Stack Images(Deprecated)

Class Name

Stack Images

Category
List Stuff
Author
M1kep (Account age: 4415days)
Extension
Comfy_KepListStuff
Latest Updated
2024-06-22
Github Stars
0.03K

How to Install Comfy_KepListStuff

Install this extension via the ComfyUI Manager by searching for Comfy_KepListStuff
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfy_KepListStuff 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

Stack Images(Deprecated) Description

Facilitates stacking multiple images horizontally or vertically, aiding in creating cohesive visual presentations for AI artists.

Stack Images(Deprecated):

The Stack Images node is designed to facilitate the arrangement of multiple images into a single composite image by stacking them either horizontally or vertically. This node is particularly useful for AI artists who want to create a cohesive visual presentation from a series of images, such as a collage or a storyboard. By specifying the stacking direction and batch stacking mode, you can control how the images are aligned and combined. The node also supports splitting the images into batches, allowing for more complex arrangements. This functionality is beneficial for organizing images in a structured manner, making it easier to visualize and present your creative work.

Stack Images(Deprecated) Input Parameters:

images

This parameter is a list of image tensors that you want to stack. Each tensor represents an image, and the list can contain multiple images that will be processed and combined according to the specified stacking modes. There is no explicit minimum or maximum number of images, but the sum of the splits must equal the number of images provided.

splits

Splits define how the images are divided into groups or batches for stacking. This parameter is a list of integers, where each integer specifies the number of images in a particular batch. The sum of the splits must match the total number of images to ensure proper stacking. If only one split is provided, it will be repeated to match the number of images.

stack_mode

This parameter determines the overall stacking direction for the images, with options such as "horizontal" or "vertical." Only a single stack mode is supported, meaning you must choose one direction for the entire operation. The choice of stack mode affects the final layout of the composite image.

batch_stack_mode

Similar to stack_mode, this parameter specifies the stacking direction within each batch. It also supports "horizontal" or "vertical" options and requires a single choice. This setting influences how images within a batch are arranged before being combined into the final image.

horizontal_labels

Optional parameter that allows you to provide labels for the horizontal axis. These labels can be used to annotate the stacked images, adding context or descriptions to the horizontal arrangement. If not provided, no labels will be added.

vertical_labels

Optional parameter for providing labels for the vertical axis. These labels serve a similar purpose as horizontal_labels but are used for the vertical arrangement of images. If omitted, the vertical stacking will not include labels.

Stack Images(Deprecated) Output Parameters:

stacked_image

The output is a single tensor representing the composite image created by stacking the input images according to the specified parameters. This tensor can be used for further processing or visualization, providing a unified view of the stacked images.

Stack Images(Deprecated) Usage Tips:

  • Ensure that the sum of the splits matches the total number of images to avoid errors during stacking.
  • Choose the stack_mode and batch_stack_mode carefully to achieve the desired layout, whether you want a horizontal or vertical arrangement.
  • Use horizontal_labels and vertical_labels to add informative annotations to your stacked images, enhancing their presentation.

Stack Images(Deprecated) Common Errors and Solutions:

Only single stack mode supported.

  • Explanation: This error occurs when more than one stack mode is provided. The node only supports a single stack mode at a time.
  • Solution: Ensure that the stack_mode parameter contains only one value, either "horizontal" or "vertical."

Only single batch stack mode supported.

  • Explanation: This error is raised when multiple batch stack modes are specified. The node requires a single batch stack mode.
  • Solution: Provide only one value for the batch_stack_mode parameter, choosing between "horizontal" or "vertical."

Sum of splits must equal number of images.

  • Explanation: This error indicates that the total number of images does not match the sum of the splits, leading to an inconsistency in batch division.
  • Solution: Adjust the splits parameter so that its sum equals the total number of images you are stacking.

Stack Images(Deprecated) Related Nodes

Go back to the extension to check out more related nodes.
Comfy_KepListStuff
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. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.