ComfyUI > Nodes > comfy_Pond_Nodes > 馃惓鍥惧儚杈规绉婚櫎

ComfyUI Node: 馃惓鍥惧儚杈规绉婚櫎

Class Name

SimpleBorderRemover

Category
馃惓Pond/image
Author
Pondowner857 (Account age: 730days)
Extension
comfy_Pond_Nodes
Latest Updated
2026-01-28
Github Stars
0.04K

How to Install comfy_Pond_Nodes

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

馃惓鍥惧儚杈规绉婚櫎 Description

Efficiently removes borders from transparent images, enhancing clarity and visual appeal.

馃惓鍥惧儚杈规绉婚櫎:

The SimpleBorderRemover node is designed to efficiently remove borders from transparent images and reconstruct them, making it an essential tool for AI artists who work with images that require clean and precise edges. This node is particularly beneficial when dealing with images that have unwanted borders or when you need to focus on the main content without distractions. By automatically detecting and removing these borders, the node helps in enhancing the visual appeal and clarity of images. It also offers options to crop the image to its content, add padding, and fill the background with a specified color, providing flexibility and control over the final output. The node's ability to handle images with or without alpha channels ensures that it can be used in a variety of scenarios, making it a versatile addition to your image processing toolkit.

馃惓鍥惧儚杈规绉婚櫎 Input Parameters:

image

The image parameter is the primary input for the node, representing the image from which borders will be removed. It is expected to be in a format that the node can process, typically with an alpha channel to identify transparency. This parameter is crucial as it determines the source material for the border removal process.

crop_to_content

The crop_to_content parameter is a boolean option that, when set to True, enables the node to automatically crop the image to its main content, removing any unnecessary transparent areas. This helps in focusing on the essential parts of the image. The default value is True.

padding

The padding parameter allows you to specify an integer value for adding extra space around the cropped content. This can be useful for creating a buffer zone around the image's main content. The parameter accepts values from 0 to 100, with a default of 0, and can be adjusted using a slider.

fill_background

The fill_background parameter is a boolean option that determines whether the background should be filled with a solid color after border removal. When set to True, the node fills the background with the specified background_color. The default value is False.

background_color

The background_color parameter specifies the color used to fill the background if fill_background is enabled. It accepts a string representing a hex color code, with a default value of #FFFFFF (white). This allows for customization of the background to match the desired aesthetic.

threshold

The threshold parameter is a float value that determines the sensitivity of the border detection process. It defines the cutoff point for distinguishing between content and transparency. The parameter ranges from 0.0 to 1.0, with a default value of 0.01, and can be adjusted using a slider to fine-tune the border removal process.

馃惓鍥惧儚杈规绉婚櫎 Output Parameters:

image

The image output parameter provides the processed image with borders removed and any additional modifications applied, such as cropping or padding. This output is the main result of the node's operation, ready for further use or display.

mask

The mask output parameter offers a mask that represents the areas of the image that were identified as content versus those that were removed as borders. This can be useful for understanding the changes made to the image and for further processing or analysis.

馃惓鍥惧儚杈规绉婚櫎 Usage Tips:

  • To achieve the best results, ensure that your input image has a clear distinction between content and borders, as this will improve the accuracy of the border removal process.
  • Experiment with the threshold parameter to find the optimal setting for your specific image, as different images may require different sensitivity levels for effective border detection.
  • Use the padding parameter to add a consistent border around your content, which can be useful for creating a uniform look across multiple images.

馃惓鍥惧儚杈规绉婚櫎 Common Errors and Solutions:

Image format not supported

  • Explanation: The input image may not be in a format that the node can process, such as lacking an alpha channel.
  • Solution: Ensure that your image is in a compatible format, ideally with an alpha channel to facilitate border detection.

Threshold value too high

  • Explanation: A high threshold value may result in the node failing to detect borders accurately, leading to incomplete border removal.
  • Solution: Lower the threshold value to increase the sensitivity of the border detection process, allowing for more precise removal.

Background color not applied

  • Explanation: The fill_background option may not be enabled, preventing the background color from being applied.
  • Solution: Set the fill_background parameter to True and specify a background_color to fill the background as desired.

馃惓鍥惧儚杈规绉婚櫎 Related Nodes

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

馃惓鍥惧儚杈规绉婚櫎