ComfyUI > Nodes > ComfyUI-Purz > Rotate Image (Purz)

ComfyUI Node: Rotate Image (Purz)

Class Name

PurzImageRotate

Category
Purz/Image/Transform
Author
purzbeats (Account age: 1545days)
Extension
ComfyUI-Purz
Latest Updated
2026-02-06
Github Stars
0.02K

How to Install ComfyUI-Purz

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

Rotate Image (Purz) Description

Rotates images by specified degrees with background color options for AI art projects.

Rotate Image (Purz):

The PurzImageRotate node is designed to provide a flexible and intuitive way to rotate images within your AI art projects. This node allows you to rotate an image by a specified number of degrees, offering a range of options to suit your creative needs. Whether you want to make subtle adjustments or dramatic transformations, this node can handle it. Additionally, it provides options for setting the background color when the image is rotated, ensuring that the resulting image maintains a clean and professional appearance. This feature is particularly useful when the rotation results in areas of the image that need to be filled with a specific color, such as black, white, or transparent. By using this node, you can enhance your images with precise rotations, adding a dynamic element to your artwork.

Rotate Image (Purz) Input Parameters:

image

The image parameter is the input image that you wish to rotate. It serves as the primary visual content that will undergo transformation. This parameter is crucial as it determines the base content that will be manipulated by the node.

angle

The angle parameter specifies the degree of rotation to be applied to the image. It accepts a floating-point value ranging from -360.0 to 360.0 degrees, with a default value of 45.0 degrees. This parameter allows you to control the extent of rotation, enabling both clockwise and counterclockwise adjustments. The angle you choose will directly impact the orientation of the final image, allowing for creative flexibility in your designs.

background_color

The background_color parameter determines the color used to fill the background areas that become visible after the image is rotated. It offers three options: "black," "white," and "transparent," with "black" as the default. This parameter is important for maintaining the visual integrity of the image, especially when the rotation results in empty spaces that need to be filled. Choosing the appropriate background color can enhance the overall aesthetic of the rotated image.

Rotate Image (Purz) Output Parameters:

image

The image output parameter represents the rotated image resulting from the node's execution. This output is the transformed version of the input image, adjusted according to the specified angle and background color. It is the final product that you can use in your AI art projects, showcasing the effects of the rotation and any background color adjustments made during the process.

Rotate Image (Purz) Usage Tips:

  • Experiment with different angle values to achieve the desired orientation for your image. Small adjustments can create subtle effects, while larger rotations can dramatically change the image's appearance.
  • Use the background_color option to complement the overall color scheme of your project. For instance, a transparent background can be useful when layering images, while a solid color can provide a clean backdrop.

Rotate Image (Purz) Common Errors and Solutions:

Image not rotating as expected

  • Explanation: This issue may occur if the angle parameter is not set correctly or if the input image is not properly formatted.
  • Solution: Double-check the angle value to ensure it is within the valid range and correctly represents the desired rotation. Also, verify that the input image is in the correct format and properly loaded into the node.

Background color not applied

  • Explanation: If the background color does not appear as expected, it might be due to incorrect settings or image format issues.
  • Solution: Ensure that the background_color parameter is set to one of the available options ("black," "white," or "transparent"). Additionally, confirm that the input image supports the chosen background color, especially when using transparency.

Rotate Image (Purz) Related Nodes

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