Actions80
- Extract Text From Word
- Find And Replace Text
- Convert PDF To Editable PDF Using OCR
- Create Swiss QR Bill
- Split PDF By Barcode
- Split PDF By Swiss QR
- Split PDF By Text
- Split PDF Regular
- Create PDF/A
- Convert HTML To PDF
- Convert Markdown To PDF
- Upload File To PDF4me
- Add Attachment To PDF
- Add Barcode To PDF
- Add Form Fields To PDF
- Fill PDF Form
- Add HTML Header Footer
- Add Image Stamp To PDF
- Add Margin To PDF
- Add Page Number To PDF
- Add Text Stamp To PDF
- AI-Invoice Parser
- AI-Process HealthCard
- AI-Process Contract
- Generate Barcode
- Classify Document
- Parse Document
- Linearize PDF
- Flatten PDF
- Convert To PDF
- Json To Excel
- Convert PDF To Excel
- Convert PDF To Word
- Convert PDF To PowerPoint
- Convert VISIO
- Crop Image
- Delete Blank Pages From PDF
- Delete Unwanted Pages From PDF
- Extract Pages
- Merge Multiple PDFs
- Overlay PDFs
- Rotate Document
- Rotate Page
- Sign PDF
- URL to PDF
- Add Image Watermark To Image
- Add Text Watermark To Image
- Compress Image
- Convert Image Format
- Create Images From PDF
- Flip Image
- Get Image Metadata
- Image Extract Text
- Remove EXIF Tags From Image
- Replace Text With Image
- Replace Text With Image In Word
- Resize Image
- Rotate Image
- Rotate Image By EXIF Data
- Compress PDF
- Get PDF Metadata
- Repair PDF Document
- Get Document From Pdf4me
- Update Hyperlinks Annotation
- Protect Document
- Unlock PDF
- Disable Tracking Changes In Word
- Enable Tracking Changes In Word
- Generate Document Single
- Generate Documents Multiple
- Get Tracking Changes In Word
- Read Barcode From Image
- Read Barcode From PDF
- Read SwissQR Code
- Extract Form Data From PDF
- Extract Pages From PDF
- Extract Attachment From PDF
- Extract Text By Expression
- Extract Table From PDF
- Extract Resources
Overview
This node performs image rotation operations. It allows users to rotate an image by a specified angle, with options to maintain the image proportions and set a background color for the rotated image. The node supports multiple input methods for the image: binary data from a previous node, a base64-encoded string, or a URL pointing to the image file.
Common scenarios where this node is useful include:
- Automatically rotating images uploaded in workflows to correct orientation.
- Processing images fetched from URLs or encoded strings before further manipulation or storage.
- Preparing images for reports, presentations, or web display by adjusting their orientation.
Practical example:
- A workflow that receives user-uploaded photos (binary data), rotates them 90 degrees clockwise while maintaining proportions, and outputs the rotated images for downstream processing or saving.
Properties
| Name | Meaning |
|---|---|
| Input Data Type | Method to provide the image: "Binary Data" (from previous node), "Base64 String", or "URL". |
| Input Binary Field | Name of the binary property containing the image file (used if Input Data Type is Binary). |
| Base64 Image Content | Base64 encoded string of the image content (used if Input Data Type is Base64). |
| Image URL | URL pointing to the image file to rotate (used if Input Data Type is URL). |
| Output File Name | Desired filename for the rotated output image (e.g., "rotate_image_output.png"). |
| Background Color | Hex color code for the background fill during rotation (e.g., "#FFFFFF" for white). |
| Proportionate Resize | Boolean flag to maintain image proportions during rotation (true/false). |
| Rotation Angle | Numeric value specifying the rotation angle in degrees (e.g., 90). |
| Async | Boolean flag to enable asynchronous processing (true/false). |
Output
The node outputs the rotated image as binary data under the specified output file name. The json output field contains metadata about the processed image, such as its properties or status. If the input was binary data, the output will be binary data representing the rotated image file.
If the node handles binary data, the output binary data represents the rotated image file ready for further use or saving.
Dependencies
- Requires access to image processing capabilities, likely via an external library or API integrated within the node's implementation.
- No explicit external service or API key is indicated in the provided source code snippet.
- Proper configuration of input data (binary, base64, or URL) is necessary for successful operation.
Troubleshooting
Common issues:
- Incorrect input data type selection leading to missing or invalid image data.
- Invalid or inaccessible image URL causing download failures.
- Unsupported image formats or corrupted image data.
- Rotation angles outside expected ranges might cause unexpected results.
- Background color format errors (should be valid hex color codes).
Error messages and resolutions:
- Errors related to missing binary data: Ensure the binary property name matches the actual input binary field.
- Base64 decoding errors: Verify the base64 string is correctly formatted and complete.
- URL fetch errors: Confirm the URL is accessible and points directly to an image file.
- Processing errors: Check that the rotation angle and other parameters are valid and supported.