Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate blank RGB images with specified dimensions and color for placeholder or data initialization.
The Empty RGB image node is designed to generate a blank RGB image with specified dimensions and color. This node is particularly useful for creating placeholder images or initializing image data for further processing. By allowing you to define the width, height, batch size, and color of the image, it provides flexibility in generating images that meet your specific requirements. The primary goal of this node is to offer a straightforward way to create uniform images that can be used in various image processing and AI art tasks.
The width parameter specifies the width of the generated image in pixels. It accepts integer values with a default of 512, a minimum of 1, and a maximum defined by the system's maximum resolution. Adjusting this parameter changes the horizontal size of the image.
The height parameter defines the height of the generated image in pixels. Similar to the width parameter, it accepts integer values with a default of 512, a minimum of 1, and a maximum defined by the system's maximum resolution. Modifying this parameter alters the vertical size of the image.
The batch_size parameter determines the number of images to generate in a single batch. It accepts integer values with a default of 1, a minimum of 1, and a maximum of 4096. This parameter is useful for generating multiple images simultaneously, which can be beneficial for batch processing tasks.
The color parameter sets the color of the generated image using an integer value representing the RGB color code. It accepts values ranging from 0 to 0xFFFFFF, with a default of 0 (black). This parameter allows you to specify the exact color of the image, making it versatile for different use cases.
The output of this node is an IMAGE, which is a tensor representing the generated RGB image. The image tensor contains the pixel data for the specified width, height, batch size, and color. This output can be used as input for further image processing or AI art generation tasks.
© Copyright 2024 RunComfy. All Rights Reserved.