Visit ComfyUI Online for ready-to-use ComfyUI environment
Create customizable RGB images for AI art projects with flexible orientation and tensor compatibility.
The RGB_Image_Zho
node is designed to create an RGB image with customizable dimensions and color. This node is particularly useful for generating solid color images that can serve as backgrounds or placeholders in your AI art projects. One of its key features is the ability to swap the width and height of the image, providing flexibility in image orientation. By converting the generated image into a tensor, it ensures compatibility with various AI and machine learning frameworks, making it a versatile tool for artists and developers alike.
The width
parameter specifies the width of the generated image in pixels. It accepts integer values ranging from a minimum of 16 to a maximum of 8160, with a default value of 512. Adjusting this parameter will change the horizontal dimension of the image.
The height
parameter defines the height of the generated image in pixels. Similar to the width
parameter, it accepts integer values between 16 and 8160, with a default value of 512. Modifying this parameter will alter the vertical dimension of the image.
The swap
parameter is a boolean option that allows you to swap the width and height of the image. When set to True
, the width and height values are exchanged, effectively rotating the image dimensions. The default value is False
.
The color
parameter specifies the color of the generated image. It accepts a color value, which can be defined using standard color codes or names. This parameter determines the fill color of the entire image.
The output of the RGB_Image_Zho
node is an IMAGE
tensor. This tensor represents the generated RGB image and can be used in subsequent nodes or processes within your AI art workflow. The tensor format ensures compatibility with various machine learning and image processing frameworks.
width
parameter to a larger value than the height
parameter.swap
parameter to quickly change the orientation of the image without manually adjusting the width and height values.© Copyright 2024 RunComfy. All Rights Reserved.