ComfyUI > Nodes > ComfyUI-PanoCard > PanoImageAdjust

ComfyUI Node: PanoImageAdjust

Class Name

PanoImageAdjust

Category
PanoCard/adjust
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

PanoImageAdjust Description

Comprehensive panoramic image adjustment node with scaling, padding, stretching, and cropping capabilities for precise visual enhancements.

PanoImageAdjust:

The PanoImageAdjust node is designed to provide a comprehensive suite of image adjustment capabilities specifically tailored for panoramic images. This node allows you to manipulate and transform images using a variety of methods, such as scaling, padding, stretching, and cropping, to achieve the desired visual effects. It is particularly useful for artists working with panoramic or wide-angle images, as it offers precise control over the image dimensions and aspect ratios. By adjusting the image's proportions and applying transformations, you can enhance the visual appeal and composition of your panoramic artworks. The node's flexibility in handling different adjustment methods makes it a valuable tool for fine-tuning images to fit specific artistic visions or project requirements.

PanoImageAdjust Input Parameters:

method

The method parameter allows you to select the type of adjustment to apply to the image. Options include "none", "alpha_remove", "scale", "scale_height", "scale_width", "pad_height", "pad_width", "pad_edge", "stretch", "stretch_pano", "stretch_arc", "crop_edge", "crop_width", "crop_height", "crop_up_down", and "crop_left_right". Each method offers a different transformation, such as removing alpha channels, scaling dimensions, padding edges, stretching the image, or cropping specific areas. This parameter is crucial for defining the specific transformation you wish to apply to your image.

keep_size

The keep_size parameter is a boolean option that determines whether the original size of the image should be maintained after applying the transformation. When set to true, the node will attempt to preserve the original dimensions of the image, adjusting the transformation accordingly. This is useful when you want to apply transformations without altering the overall size of the image. The default value is false.

ratio_front

The ratio_front parameter is a float value that specifies the adjustment ratio for the front part of the image. It ranges from -1.0 to 1.0, with a default value of 0.0. This parameter allows you to fine-tune the transformation effect on the front section of the image, providing control over how much the image is stretched or compressed in this area.

ratio_right

The ratio_right parameter functions similarly to ratio_front, but it applies to the right side of the image. It allows you to adjust the transformation ratio for the right section, with values ranging from -1.0 to 1.0 and a default of 0.0. This parameter is useful for achieving asymmetrical transformations or emphasizing specific parts of the image.

ratio_back

The ratio_back parameter controls the adjustment ratio for the back part of the image. Like the other ratio parameters, it ranges from -1.0 to 1.0, with a default value of 0.0. This parameter is essential for managing the transformation effect on the back section, allowing for balanced or intentionally skewed image adjustments.

ratio_left

The ratio_left parameter is used to adjust the transformation ratio for the left side of the image. It provides a range from -1.0 to 1.0, with a default of 0.0, enabling you to control the degree of transformation applied to the left section. This parameter is particularly useful for creating dynamic compositions or correcting perspective distortions.

ratio_up

The ratio_up parameter specifies the adjustment ratio for the upper part of the image. With a range from -1.0 to 1.0 and a default value of 0.0, it allows you to fine-tune the transformation effect on the top section of the image. This parameter is beneficial for achieving vertical adjustments or enhancing the image's vertical composition.

PanoImageAdjust Output Parameters:

pano_pipe

The pano_pipe output is a data structure that encapsulates the transformation parameters and settings applied to the panoramic image. It serves as a reference for further processing or adjustments, ensuring consistency across different stages of your workflow. This output is essential for maintaining a record of the transformations applied to the image.

equ

The equ output represents the equidistant projection of the transformed panoramic image. This output is crucial for visualizing the final result of the adjustments, providing a clear view of how the image has been altered. It is particularly useful for evaluating the effectiveness of the transformations and making any necessary refinements.

mask

The mask output is a binary mask that indicates the areas of the image affected by the transformation. This output is valuable for identifying the regions that have been modified, allowing for precise control over the transformation process. It can be used to apply additional effects or corrections to specific parts of the image.

PanoImageAdjust Usage Tips:

  • Experiment with different method options to find the best transformation for your image. Each method offers unique effects that can enhance your artwork.
  • Use the keep_size parameter to maintain the original dimensions of your image when applying transformations, ensuring that the overall composition remains consistent.
  • Adjust the ratio parameters to fine-tune the transformation effects on specific sections of the image, allowing for precise control over the final result.

PanoImageAdjust Common Errors and Solutions:

"Invalid method selected"

  • Explanation: This error occurs when an unsupported method is chosen for the transformation.
  • Solution: Ensure that the method parameter is set to one of the supported options listed in the input parameters.

"Ratio value out of range"

  • Explanation: This error indicates that one of the ratio parameters has been set outside the allowed range of -1.0 to 1.0.
  • Solution: Adjust the ratio parameters to fall within the specified range to avoid this error.

"Image size mismatch"

  • Explanation: This error occurs when the keep_size parameter is set to true, but the transformation results in a size change.
  • Solution: Review the transformation settings and adjust the method or ratio parameters to ensure the image size remains consistent.

PanoImageAdjust 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.