ComfyUI > Nodes > GraftingRayman > GR Stack Image

ComfyUI Node: GR Stack Image

Class Name

GR Stack Image

Category
GraftingRayman/Images
Author
GraftingRayman (Account age: 193days)
Extension
GraftingRayman
Latest Updated
2024-07-23
Github Stars
0.03K

How to Install GraftingRayman

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

GR Stack Image Description

Merge two images into a stacked image with border and color options for AI artists and image manipulation.

GR Stack Image:

The GR Stack Image node is designed to combine two images into a single stacked image, providing a seamless way to merge visual content. This node is particularly useful for AI artists who want to create composite images or enhance their artwork by layering different visual elements. The primary function of this node is to take two input images and stack them either vertically or horizontally, with optional border and color customization. This allows for creative flexibility and precise control over the final output, making it an essential tool for image manipulation and artistic projects.

GR Stack Image Input Parameters:

image1

This parameter represents the first image to be stacked. It serves as the base image onto which the second image will be layered. The quality and resolution of this image will directly impact the final output.

image2

This parameter represents the second image to be stacked on top of or beside the first image. It is crucial to ensure that this image complements the first image in terms of dimensions and content to achieve a harmonious final result.

colour

This parameter allows you to specify the color of the border that will be added between the stacked images. You can choose any color that suits your artistic vision, enhancing the visual appeal of the composite image.

border

This optional parameter defines the width of the border to be added between the stacked images. The default value is 0, meaning no border will be added unless specified. Adjusting this value can help in creating a distinct separation between the two images.

GR Stack Image Output Parameters:

output_image

This is the final stacked image resulting from the combination of the two input images. It reflects the specified border and color settings, providing a cohesive and visually appealing composite image.

inverted_mask_image

This output provides an inverted mask of the combined images, which can be useful for further image processing or artistic effects.

contour_image

This output delivers a contour image of the stacked result, highlighting the edges and boundaries within the composite image. It can be used for additional artistic enhancements or analysis.

image_dimensions

This output provides the dimensions of the final stacked image, including the width and height. It is useful for understanding the size and scale of the output image, ensuring it meets your project requirements.

GR Stack Image Usage Tips:

  • Ensure that both input images (image1 and image2) have similar dimensions to achieve a balanced and visually appealing stacked image.
  • Experiment with different border colors and widths to create unique visual effects and enhance the separation between the stacked images.
  • Use the contour_image output to add artistic outlines or highlights to your composite image, giving it a distinctive look.

GR Stack Image Common Errors and Solutions:

No image file selected.

  • Explanation: This error occurs when no image is provided as input.
  • Solution: Ensure that you have selected valid image files for both image1 and image2 parameters before executing the node.

Image dimensions mismatch.

  • Explanation: This error happens when the input images have significantly different dimensions, leading to an unbalanced stacked image.
  • Solution: Resize the input images to have similar dimensions before stacking them to achieve a harmonious final output.

Invalid border color.

  • Explanation: This error occurs if the specified border color is not recognized or is invalid.
  • Solution: Ensure that the border color is specified in a valid format, such as a hex code or a recognized color name.

GR Stack Image Related Nodes

Go back to the extension to check out more related nodes.
GraftingRayman
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.