Visit ComfyUI Online for ready-to-use ComfyUI environment
Node for adding customizable padding around images, including feathered edges for seamless blending and artistic enhancement.
Image Padding is a node designed to add padding around an image, which can be particularly useful for tasks such as outpainting, where additional space around the image is needed for further processing or artistic enhancement. This node allows you to specify the amount of padding to be added on each side of the image, ensuring that the original content remains centered and intact. The padding can be customized to include a feathered edge, which helps blend the padded area smoothly with the original image, creating a more natural transition. This feature is especially beneficial for AI artists looking to expand their artwork seamlessly or prepare images for further manipulation without losing the original composition.
This parameter represents the input image that you want to add padding to. The image should be in a format that is compatible with the node, such as PNG or JPEG. The quality and resolution of the input image will directly affect the final output.
This parameter specifies the amount of padding to be added to the left side of the image. The value is measured in pixels. The minimum value is 0, and there is no strict maximum value, but it should be reasonable relative to the image size. The default value is 100 pixels.
This parameter specifies the amount of padding to be added to the right side of the image. The value is measured in pixels. The minimum value is 0, and there is no strict maximum value, but it should be reasonable relative to the image size. The default value is 100 pixels.
This parameter specifies the amount of padding to be added to the top of the image. The value is measured in pixels. The minimum value is 0, and there is no strict maximum value, but it should be reasonable relative to the image size. The default value is 100 pixels.
This parameter specifies the amount of padding to be added to the bottom of the image. The value is measured in pixels. The minimum value is 0, and there is no strict maximum value, but it should be reasonable relative to the image size. The default value is 100 pixels.
This parameter determines the radius of the feathered edge applied to the padding. The feathered edge helps blend the padded area with the original image, creating a smoother transition. The value is measured in pixels. The minimum value is 0, and the maximum value depends on the image size and desired effect. The default value is 50 pixels.
This boolean parameter indicates whether a second pass of feathering should be applied to the image. Enabling this option can enhance the smoothness of the transition between the original image and the padded area. The default value is True.
This output parameter represents the new image with the added padding. The image will have the specified padding on all sides, and if feathering is enabled, the edges will be smoothly blended with the original content. The output image retains the original format and quality.
This output parameter is a mask image that indicates the areas where padding has been added. The mask can be used for further processing or analysis, helping to distinguish between the original content and the padded regions. The mask is provided in an RGB format.
© Copyright 2024 RunComfy. All Rights Reserved.