Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Desert-Pixel-Nodes > DP Strip Edge Masks

ComfyUI Node: DP Strip Edge Masks

Class Name

DP Strip Edge Masks

Category
DP/image
Author
DesertPixelAi (Account age: 840days)
Extension
ComfyUI-Desert-Pixel-Nodes
Latest Updated
2025-06-22
Github Stars
0.03K

How to Install ComfyUI-Desert-Pixel-Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-Desert-Pixel-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Desert-Pixel-Nodes 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

DP Strip Edge Masks Description

Facilitates smooth image blending by creating feathered edge masks for seamless transitions.

DP Strip Edge Masks:

The DP Strip Edge Masks node is designed to facilitate the seamless blending of multiple images by creating edge masks that help in smooth transitions between adjacent images. This node is particularly useful in scenarios where images need to be concatenated either horizontally or vertically, ensuring that the joins between images are not abrupt but rather smoothly blended. By generating masks that can be feathered, the node allows for a gradual transition at the edges, which is crucial for maintaining visual continuity and avoiding harsh lines that can disrupt the overall aesthetic. The node's ability to handle multiple images and create individual or combined masks makes it a versatile tool for AI artists looking to create cohesive image compositions.

DP Strip Edge Masks Input Parameters:

images

This parameter represents the list of images that you want to process and blend together. The images are expected to be in a format compatible with the node's processing capabilities, typically as tensors. The number of images you can input is limited to 10, ensuring manageable processing and output.

mode

The mode parameter determines the orientation in which the images will be concatenated. It can be set to either "horizontal" or "vertical," depending on whether you want the images to be joined side by side or stacked on top of each other. This choice affects how the edge masks are created and applied.

edge_width

Edge width specifies the width of the edge mask that will be created at the join between images. This parameter is crucial as it defines the area over which the transition will occur. A larger edge width results in a broader transition zone, which can be useful for more gradual blending.

feather

Feathering is the process of smoothing the edges of the mask to create a gradual transition. The feather parameter controls the extent of this smoothing. A higher feather value results in a softer transition, which can help in achieving a more natural blend between images.

output_mode

This parameter determines how the masks are outputted. It can be set to "separate_masks" to receive individual masks for each join or to another mode to receive a combined mask. This flexibility allows you to choose the output format that best suits your workflow and needs.

DP Strip Edge Masks Output Parameters:

combined_image

The combined image is the result of concatenating the input images according to the specified mode. This output provides a single image that represents the seamless joining of all input images, with edge masks applied to ensure smooth transitions.

edge_masks

Edge masks are the masks created at the joins between images. Depending on the output mode, this can be a single combined mask or a set of individual masks for each join. These masks are essential for achieving the desired blending effect and can be used in further processing or adjustments.

DP Strip Edge Masks Usage Tips:

  • To achieve the best results, ensure that the images you are blending have similar color tones and lighting conditions, as this will enhance the effectiveness of the edge masks.
  • Experiment with different feather values to find the optimal level of smoothing for your specific images. A higher feather value can help in creating more natural transitions, especially in images with complex textures.

DP Strip Edge Masks Common Errors and Solutions:

"IndexError: list index out of range"

  • Explanation: This error may occur if the number of images provided exceeds the limit or if there is an attempt to access an image index that does not exist.
  • Solution: Ensure that you are providing no more than 10 images and that all indices used in the process are valid.

"RuntimeError: The size of tensor a (X) must match the size of tensor b (Y)"

  • Explanation: This error indicates a mismatch in dimensions between the images or masks being processed.
  • Solution: Verify that all input images have compatible dimensions and that the edge width and feather values are set appropriately to avoid dimension mismatches.

DP Strip Edge Masks Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Desert-Pixel-Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

DP Strip Edge Masks