ComfyUI  >  Nodes  >  Mikey Nodes >  Image Border (Mikey)

ComfyUI Node: Image Border (Mikey)

Class Name

ImageBorder

Category
Mikey/Image
Author
bash-j (Account age: 4196 days)
Extension
Mikey Nodes
Latest Updated
6/15/2024
Github Stars
0.1K

How to Install Mikey Nodes

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

Image Border (Mikey) Description

Enhance images with versatile borders for customization and aesthetic effects.

Image Border (Mikey):

The ImageBorder node is designed to enhance your images by adding various types of borders. This node allows you to create borders with different styles, such as solid colors, checkerboard patterns, or blurred edges, providing a versatile tool for image enhancement. By using this node, you can make your images stand out, add emphasis, or create a specific aesthetic effect. The main goal of the ImageBorder node is to offer a simple yet powerful way to customize the appearance of your images, making it an essential tool for AI artists looking to add a professional touch to their work.

Image Border (Mikey) Input Parameters:

image

This parameter represents the input image to which the border will be applied. The image should be in a format that the node can process, typically a tensor representation of an image.

border_width

This parameter defines the width of the border to be added around the image. It is an integer value with a default of 10, a minimum of 0, and a maximum of 1000. The border width determines how thick the border will be, with larger values resulting in a thicker border.

border_color

This parameter specifies the color or style of the border. It can be a string representing a color name (e.g., 'black'), a tuple representing an RGB color (e.g., '(255, 0, 0)'), or special styles like 'checkerboard' or 'blur'. The choice of border color or style significantly impacts the visual effect of the border, allowing for creative and varied designs.

Image Border (Mikey) Output Parameters:

image

The output parameter is the modified image with the applied border. This image retains the original content but now includes the specified border, enhancing its visual appeal and meeting the desired aesthetic criteria.

Image Border (Mikey) Usage Tips:

  • To create a classic look, use a solid color for the border, such as black or white, which can help frame the image and draw attention to its content.
  • For a more dynamic and playful effect, try using the 'checkerboard' style, which adds a patterned border that can make the image more engaging.
  • If you want a subtle and professional touch, use the 'blur' style to create a border that blends smoothly with the edges of the image, providing a soft and elegant finish.

Image Border (Mikey) Common Errors and Solutions:

Invalid border width

  • Explanation: The border width provided is outside the acceptable range (0-1000).
  • Solution: Ensure that the border width is set within the range of 0 to 1000.

Invalid border color format

  • Explanation: The border color is not recognized. It should be a color name, an RGB tuple, or a special style like 'checkerboard' or 'blur'.
  • Solution: Verify that the border color is correctly specified as a string color name, an RGB tuple, or one of the special styles.

Image format not supported

  • Explanation: The input image is not in a format that the node can process.
  • Solution: Ensure that the input image is in a tensor format that the node can handle. Convert the image to the appropriate format if necessary.

Image Border (Mikey) Related Nodes

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