Make Image
This function block allows users to create a new image with specific dimensions and a defined color, providing a simple way to generate images for various applications.
📥 Inputs
Width
The desired width of the image in pixels.
Height
The desired height of the image in pixels.
Color
An optional color value specified in pixel format, which will fill the entire image. If not specified, the image will default to black.
📤 Outputs
Image Any
The generated image based on the specified width, height, and color.
🕹️ Controls
This block has no interactive controls. The output is entirely controlled by the inputs provided.
🎨 Features
Dynamic Image Creation
Users can specify the size and color of the image dynamically through the inputs.
Customizable Color
The option to set a specific color allows for different image creation scenarios.
📝 Usage Instructions
Specify Width and Height: Connect numerical inputs for the
Width
andHeight
to define the dimensions of the new image.Set Color (Optional): Optionally, connect a color input to fill the image. If left unconnected, the image will be created in black.
Run the Block: Execute the function block to generate the image. The output will be available for use in subsequent processing steps.
📊 Evaluation
When executed, this function block produces an image of the specified width and height, filled with the chosen color.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated