Actions80
- Add Attachment To PDF
- Add Barcode To PDF
- Add Form Fields To PDF
- Add HTML Header Footer
- Add Image Stamp To PDF
- Add Image Watermark To Image
- Add Margin To PDF
- Add Page Number To PDF
- Add Text Stamp To PDF
- Add Text Watermark To Image
- AI-Invoice Parser
- AI-Process Contract
- AI-Process HealthCard
- Classify Document
- Compress Image
- Compress PDF
- Convert HTML To PDF
- Convert Image Format
- Convert JSON To Excel
- Convert Markdown To PDF
- Convert PDF To Editable PDF Using OCR
- Convert PDF To Excel
- Convert PDF To PowerPoint
- Convert PDF To Word
- Convert To PDF
- Convert URL to PDF
- Convert VISIO
- Convert Word to PDF Form
- Create Images From PDF
- Create PDF/A
- Create Swiss QR Bill
- Crop Image
- Delete Blank Pages From PDF
- Delete Unwanted Pages From PDF
- Disable Tracking Changes In Word
- Enable Tracking Changes In Word
- Extract Attachment From PDF
- Extract Form Data From PDF
- Extract Pages From PDF
- Extract Resources
- Extract Table From PDF
- Extract Text By Expression
- Extract Text From Word
- Fill PDF Form
- Find And Replace Text
- Flip Image
- Flatten PDF
- Generate Barcode
- Generate Document Single
- Generate Documents Multiple
- Get Document From Pdf4me
- Get Image Metadata
- Get PDF Metadata
- Get Tracking Changes In Word
- Image Extract Text
- Linearize PDF
- Merge Multiple PDFs
- Overlay PDFs
- Parse Document
- Protect PDF
- Read Barcode From Image
- Read Barcode From PDF
- Read SwissQR Code
- Remove EXIF Tags From Image
- Repair PDF Document
- Replace Text With Image
- Replace Text With Image In Word
- Resize Image
- Rotate Document
- Rotate Image
- Rotate Image By EXIF Data
- Rotate PDF Page
- Sign PDF
- Split PDF By Barcode
- Split PDF By Swiss QR
- Split PDF By Text
- Split PDF Regular
- Unlock PDF
- Update Hyperlinks Annotation
- Upload File To PDF4me
Overview
This node operation "Rotate Image By EXIF Data" processes an image file to automatically rotate it according to its embedded EXIF orientation metadata. This is useful when images are taken with devices that store orientation information in EXIF tags rather than physically rotating the pixels, which can cause images to appear sideways or upside down in some viewers.
Common scenarios include:
- Automatically correcting the orientation of photos uploaded from cameras or smartphones before further processing or display.
- Preparing images for consistent presentation in workflows that involve image manipulation, storage, or sharing.
- Ensuring that rotated images maintain correct orientation without manual intervention.
For example, a user might upload a batch of photos from a smartphone where some images are rotated incorrectly due to device orientation. Using this node operation, all images can be normalized to their correct upright orientation based on EXIF data.
Properties
| Name | Meaning |
|---|---|
| Input Data Type | Choose how to provide the image file to rotate by EXIF data: - Binary Data (from previous node) - Base64 String (base64 encoded image content) - URL (link to image file) |
| Input Binary Field | Name of the binary property containing the image file (used only if Input Data Type is Binary Data) |
| Base64 Image Content | Base64 encoded string of the image content (used only if Input Data Type is Base64 String) |
| Image URL | URL to the image file to rotate by EXIF data (used only if Input Data Type is URL) |
| Output File Name | Desired filename for the output rotated image file |
| Async | Enable asynchronous processing (true/false) |
| Binary Data Output Name | Custom name for the binary data field in the node's output |
Output
The node outputs the rotated image as binary data under the specified binary data output name (default: "data"). The output contains the image file correctly oriented according to its EXIF metadata.
The JSON output includes metadata about the processed item, and the binary data holds the actual rotated image file ready for downstream nodes or export.
Dependencies
- Requires access to image data either as binary input, base64 string, or via a URL.
- No explicit external API keys or services are indicated; the rotation logic is handled internally.
- If using URL input, the node must have network access to fetch the image.
- Asynchronous processing can be enabled for potentially improved performance.
Troubleshooting
- Image not rotated correctly: Ensure the input image actually contains valid EXIF orientation metadata. Some images may lack this data, resulting in no rotation.
- Invalid input data errors: Verify that the input matches the selected Input Data Type (e.g., binary data exists in the specified binary property, base64 string is properly formatted, or URL is accessible).
- Network errors when using URL: Confirm the URL is reachable and returns a valid image file.
- Output file name issues: Use valid filename characters and extensions compatible with the image format.
- Asynchronous processing problems: If enabled async causes unexpected behavior, try disabling it to check for differences.