ComfyUI  >  Nodes  >  Comfyroll Studio >  🌁 CR Image Border

ComfyUI Node: 🌁 CR Image Border

Class Name

CR Image Border

Category
🧩 Comfyroll Studio/👾 Graphics/🌁 Layout
Author
Suzie1 (Account age: 2158 days)
Extension
Comfyroll Studio
Latest Updated
6/5/2024
Github Stars
0.5K

How to Install Comfyroll Studio

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

🌁 CR Image Border Description

Customizable image borders with adjustable thickness, color, and feathering for polished, professional artwork.

🌁 CR Image Border:

The CR Image Border node is designed to add customizable borders to your images, enhancing their visual appeal and providing a polished, finished look. This node allows you to specify the thickness of the border on each side of the image, choose the border color, and even apply a feathering effect to create smooth transitions between the image and the border. By using this node, you can create professional-looking images with consistent and aesthetically pleasing borders, making it an essential tool for AI artists looking to refine their artwork.

🌁 CR Image Border Input Parameters:

image

This parameter takes the input image(s) to which the border will be applied. The images should be in a format compatible with the node's processing capabilities.

top_thickness

Specifies the thickness of the border at the top of the image. The value is measured in pixels. A higher value results in a thicker top border. Minimum value: 0. Default value: 0.

bottom_thickness

Specifies the thickness of the border at the bottom of the image. The value is measured in pixels. A higher value results in a thicker bottom border. Minimum value: 0. Default value: 0.

left_thickness

Specifies the thickness of the border on the left side of the image. The value is measured in pixels. A higher value results in a thicker left border. Minimum value: 0. Default value: 0.

right_thickness

Specifies the thickness of the border on the right side of the image. The value is measured in pixels. A higher value results in a thicker right border. Minimum value: 0. Default value: 0.

border_color

Defines the color of the border. This can be specified using standard color names or RGB values. The chosen color will be applied uniformly to all sides of the border.

feather_amount

Determines the amount of feathering applied to the border. Feathering creates a smooth transition between the image and the border, softening the edges. A higher value increases the feathering effect. Minimum value: 0. Default value: 0.

border_color_hex

An optional parameter to specify the border color using a hexadecimal color code. This provides an alternative way to define the border color. Default value: #000000 (black).

🌁 CR Image Border Output Parameters:

images

This output parameter returns the processed image(s) with the applied borders. The images are returned in a format compatible with further processing or display.

show_help

Provides a URL to the documentation or help page for the CR Image Border node. This can be useful for users seeking additional information or troubleshooting tips.

🌁 CR Image Border Usage Tips:

  • To create a uniform border around the entire image, set the same value for top_thickness, bottom_thickness, left_thickness, and right_thickness.
  • Use the feather_amount parameter to soften the edges of the border, creating a more integrated look with the image.
  • Experiment with different border_color and border_color_hex values to match the border with the overall color scheme of your artwork.

🌁 CR Image Border Common Errors and Solutions:

"Invalid image format"

  • Explanation: The input image is not in a compatible format.
  • Solution: Ensure that the image is in a supported format such as JPEG or PNG.

"Border thickness must be non-negative"

  • Explanation: One or more of the border thickness parameters are set to a negative value.
  • Solution: Set all border thickness parameters (top_thickness, bottom_thickness, left_thickness, right_thickness) to non-negative values.

"Invalid color value"

  • Explanation: The border_color or border_color_hex parameter contains an invalid color value.
  • Solution: Verify that the color values are correctly specified using standard color names, RGB values, or valid hexadecimal codes.

🌁 CR Image Border Related Nodes

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