Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance image editing workflow by adding customizable padding for AI artists, offering both simplicity and advanced options.
The comfyui-easy-padding
node is designed to enhance your image editing workflow by allowing you to add padding to images with ease. This node is particularly useful for AI artists who need to adjust the dimensions of an image without altering its core content. By adding padding, you can create a uniform border around your image, which can be customized in terms of size and color. This feature is beneficial for preparing images for further processing or for creating a specific visual effect. The node's functionality is straightforward, making it accessible even to those with limited technical expertise, while still offering advanced options for more experienced users.
This parameter represents the image to which you want to add padding. It is the primary input and serves as the base for all padding operations.
This integer parameter specifies the amount of padding to add to the left side of the image. It ranges from 0 to 4096, with a default value of 0. Increasing this value will expand the image's width by adding space on the left.
This integer parameter determines the padding to be added to the top of the image. It also ranges from 0 to 4096, with a default value of 0. Adjusting this value increases the image's height by adding space at the top.
This integer parameter sets the padding for the right side of the image. Like the other padding parameters, it ranges from 0 to 4096, with a default of 0. Increasing this value will add space to the right, expanding the image's width.
This integer parameter controls the padding added to the bottom of the image. It ranges from 0 to 4096, with a default value of 0. Adjusting this value increases the image's height by adding space at the bottom.
This string parameter allows you to specify the color of the padding. The default color is white (#ffffff
), but you can choose any color by providing its hexadecimal code. This feature enables you to match the padding color with your image's theme or design.
This boolean parameter determines whether the padding should be transparent. By default, it is set to False
, meaning the padding will be filled with the specified color. Setting it to True
will make the padding transparent, which can be useful for overlaying images or creating layered compositions.
This output represents the modified image with the added padding. It reflects the changes made based on the input parameters, providing a new image that includes the specified padding dimensions and color.
This output is a mask that corresponds to the added padding areas. It can be used for further image processing tasks, such as masking or blending operations, allowing you to isolate the padded regions from the original image content.
left
, top
, right
, and bottom
parameters.color
parameter to match the padding with your image's background or theme, enhancing the overall aesthetic.#
followed by six characters (0-9, A-F).RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.