ComfyUI > Nodes > ComfyUI-PanoCard > PanoImagePad

ComfyUI Node: PanoImagePad

Class Name

PanoImagePad

Category
PanoCard/pad
Author
Gue-e (Account age: 2623days)
Extension
ComfyUI-PanoCard
Latest Updated
2025-06-23
Github Stars
0.02K

How to Install ComfyUI-PanoCard

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

PanoImagePad Description

Enhance panoramic images by adding padding for seamless transitions and expanded canvas editing.

PanoImagePad:

The PanoImagePad node is designed to enhance panoramic images by adding padding to them, which can be particularly useful for creating seamless transitions or expanding the canvas for further editing. This node is part of the PanoCard/pad category and focuses on manipulating the width of images, allowing you to extend the visual content horizontally. By using this node, you can effectively manage the aspect ratio and composition of panoramic images, ensuring that they fit specific display requirements or artistic visions. The node's primary function is to provide a flexible and efficient way to adjust the width of images, making it an essential tool for artists working with panoramic content.

PanoImagePad Input Parameters:

images

This parameter accepts an image input that you want to pad. It is crucial as it serves as the base image to which the padding will be applied. The image should be in a compatible format, typically with an alpha channel if transparency is needed. The quality and resolution of the input image will directly affect the output, so using high-quality images is recommended.

add_width

This integer parameter specifies the amount of width to be added to the image. It allows you to control how much horizontal padding is applied, which can be useful for fitting the image into a specific layout or for artistic purposes. The default value is 0, meaning no additional width is added unless specified. The range of this parameter depends on the specific requirements of your project, but it should be a positive integer to increase the width.

PanoImagePad Output Parameters:

pano_pipe

This output is a data structure that contains the configuration and state of the panoramic image processing pipeline. It is essential for maintaining the context and settings used during the padding process, allowing for consistent results and further processing if needed.

equ

The equ output represents the padded image. It is the primary result of the node's operation, showcasing the original image with the specified width padding applied. This output is crucial for visualizing the changes made and for any subsequent image processing or display tasks.

mask

The mask output provides a mask image that corresponds to the padded areas of the original image. This mask can be used for further image manipulation, such as blending or compositing, ensuring that the padded regions are handled appropriately in downstream processes.

PanoImagePad Usage Tips:

  • Ensure that the input image has a high resolution to maintain quality after padding, especially if the padded image will be used in large displays or prints.
  • Experiment with different add_width values to achieve the desired composition and aspect ratio, keeping in mind the final use case of the image.
  • Utilize the mask output to seamlessly blend the padded areas with other images or backgrounds, enhancing the overall visual coherence.

PanoImagePad Common Errors and Solutions:

"Invalid image format"

  • Explanation: This error occurs when the input image is not in a supported format or lacks an alpha channel if required.
  • Solution: Ensure that the input image is in a compatible format, such as PNG with an alpha channel, and try re-uploading it.

"Add width must be a positive integer"

  • Explanation: This error indicates that the add_width parameter is set to a non-positive value, which is not allowed.
  • Solution: Adjust the add_width parameter to a positive integer to specify the desired amount of padding.

PanoImagePad Related Nodes

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