ComfyUI  >  Nodes  >  ComfyUI Layer Style >  LayerMask: PixelSpread

ComfyUI Node: LayerMask: PixelSpread

Class Name

LayerMask: PixelSpread

Category
😺dzNodes/LayerMask
Author
chflame163 (Account age: 445 days)
Extension
ComfyUI Layer Style
Latest Updated
6/24/2024
Github Stars
0.6K

How to Install ComfyUI Layer Style

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

LayerMask: PixelSpread Description

Manipulate images by spreading pixels based on a mask for creating unique visual effects with precise control.

LayerMask: PixelSpread:

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.

LayerMask: PixelSpread Input Parameters:

image

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.

invert_mask

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.

mask_grow

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.

mask

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.

LayerMask: PixelSpread Output Parameters:

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.

LayerMask: PixelSpread Usage Tips:

  • Experiment with the 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.
  • Use the 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.
  • If you want to apply the pixel spread effect to specific areas of the image, make sure to provide a mask that accurately defines those areas. This will give you more control over the final result.

LayerMask: PixelSpread Common Errors and Solutions:

Error: The mask is not match image.

  • Explanation: This error occurs when the dimensions of the mask do not match the dimensions of the primary image.
  • Solution: Ensure that the mask image is the same size as the primary image before applying the pixel spread effect.

Error: Processed 0 image(s).

  • Explanation: This error indicates that no images were processed, possibly due to an issue with the input parameters or the mask.
  • Solution: Double-check the input parameters and ensure that the mask is correctly defined and properly sized.

LayerMask: PixelSpread Related Nodes

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