ComfyUI > Nodes > Comfyui_PDuse > PD:Image Rotate

ComfyUI Node: PD:Image Rotate

Class Name

PD_Image_Rotate_v1

Category
PD Suite/Image/Transform
Author
7BEII (Account age: 453days)
Extension
Comfyui_PDuse
Latest Updated
2026-03-25
Github Stars
0.05K

How to Install Comfyui_PDuse

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

PD:Image Rotate Description

PD_Image_Rotate_v1 rotates images in ComfyUI from -360 to 360 degrees with transpose and internal modes.

PD:Image Rotate:

The PD_Image_Rotate_v1 node is designed to facilitate the rotation of images within the ComfyUI environment, offering a flexible and efficient way to adjust image orientation. This node is particularly beneficial for AI artists who need to manipulate image angles for creative or corrective purposes. It supports a range of rotation angles from -360 to 360 degrees, allowing for both subtle and dramatic changes in image orientation. The node provides two modes of operation: transpose and internal, each catering to different rotation needs. The internal mode is particularly useful for non-standard angles, as it automatically handles transparency and cropping to ensure the rotated image maintains its integrity. By leveraging different sampling methods, such as nearest, bilinear, and bicubic, the node ensures that the quality of the rotated image is preserved according to the user's preference. Overall, PD_Image_Rotate_v1 is a versatile tool that enhances the image transformation capabilities within the PD Suite, making it an essential component for image manipulation tasks.

PD:Image Rotate Input Parameters:

images

This parameter accepts a batch of images that you wish to rotate. The images should be in a format compatible with the node, typically as tensors that can be converted to PIL images for processing.

mode

The mode parameter determines the method used for rotation. It offers two options: transpose and internal. The transpose mode is suitable for rotations that are multiples of 90 degrees, while the internal mode is used for arbitrary angles, ensuring that the image is rotated with transparency handling and automatic cropping of non-transparent areas.

rotation

This parameter specifies the angle of rotation in degrees. It accepts integer values ranging from -360 to 360, with a default value of 90. The rotation angle determines how much the image will be rotated clockwise. For example, a rotation of 90 degrees will turn the image to the right, while -90 will turn it to the left.

sampler

The sampler parameter defines the resampling method used during the rotation process. It offers three options: nearest, bilinear, and bicubic. The nearest option is the fastest but may result in lower quality, while bilinear and bicubic provide smoother results at the cost of increased computational time.

PD:Image Rotate Output Parameters:

images

The output is a batch of rotated images, returned in the same format as the input. These images have been processed according to the specified rotation angle and mode, ensuring that they are correctly oriented and cropped if necessary. The output images are ready for further processing or display.

PD:Image Rotate Usage Tips:

  • Use the internal mode for non-standard rotation angles to ensure proper handling of transparency and cropping.
  • Choose the bilinear or bicubic sampler for higher quality results, especially when dealing with detailed images.
  • When rotating by multiples of 90 degrees, the transpose mode can be more efficient and straightforward.

PD:Image Rotate Common Errors and Solutions:

Invalid rotation angle

  • Explanation: The rotation angle provided is outside the acceptable range of -360 to 360 degrees.
  • Solution: Ensure that the rotation angle is within the specified range and adjust it accordingly.

Unsupported sampler type

  • Explanation: The sampler type specified is not recognized by the node.
  • Solution: Use one of the supported sampler types: nearest, bilinear, or bicubic.

Image format not supported

  • Explanation: The input images are not in a format that can be processed by the node.
  • Solution: Convert the images to a compatible format, such as a tensor that can be converted to a PIL image.

PD:Image Rotate Related Nodes

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

PD:Image Rotate