Visit ComfyUI Online for ready-to-use ComfyUI environment
Manipulate images by spreading pixels based on a mask for creating unique visual effects with precise control.
The LayerMask: PixelSpread node is designed to manipulate images by spreading pixels based on a given mask. This node is particularly useful for AI artists who want to create unique visual effects by expanding or contracting specific areas of an image. The primary function of this node is to apply a pixel spreading effect, which can be controlled by various parameters such as mask growth and inversion. This allows for precise control over how the pixels are spread, enabling the creation of intricate and detailed designs. By using this node, you can enhance your artwork with dynamic and customizable pixel effects, making it a valuable tool in your creative arsenal.
The image
parameter is the primary image that you want to apply the pixel spread effect to. This image will be processed based on the mask and other parameters provided.
The invert_mask
parameter is a boolean value that determines whether the mask should be inverted before applying the pixel spread effect. If set to True
, the mask will be inverted, which can change the areas of the image that are affected by the pixel spread. The default value is False
.
The mask_grow
parameter controls the expansion or contraction of the mask. A positive value will expand the mask, while a negative value will contract it. This parameter allows you to fine-tune the areas of the image that are affected by the pixel spread. The default value is 0
.
The mask
parameter is an optional input that defines the areas of the image to be affected by the pixel spread effect. If no mask is provided, the entire image will be processed. The mask should be an image of the same dimensions as the primary image.
The image
output parameter is the processed image with the pixel spread effect applied. This image will reflect the changes made based on the input parameters, including any mask modifications and pixel spreading.
mask_grow
parameter to see how expanding or contracting the mask affects the pixel spread effect. This can help you achieve the desired level of detail in your artwork.invert_mask
parameter to quickly change the focus of the pixel spread effect. This can be useful for creating contrasting designs or highlighting different areas of the image.© Copyright 2024 RunComfy. All Rights Reserved.