Skip to main content

Image - Rotate by EXIF Data - Auto Orientation for Make

Rotate by EXIF Data is a Make module by PDF4me that reads the EXIF Orientation tag on a JPG or PNG image and rotates it to the correct upright position automatically. Use it to fix sideways smartphone photos before they reach a gallery, print job, or PDF, with no manual rotation angle required.

What this module does

PDF4me Rotate by EXIF Data delivers automated image rotation based on EXIF orientation metadata within Make scenarios. It reads the EXIF Orientation tag from images (common with smartphone and camera photos) and applies the correct rotation, enabling proper photo display, print preparation, web publishing, and automated orientation correction workflows.

Related Blog Posts
No blog post yet for this feature — coming soon.
In the meantime, browse the PDF4me blog for tutorials and workflows across every platform.
Visit the blog

How Do I Authenticate My Make Scenario?

To access the PDF4me Web API through Make, every request must include a valid Connection holding your PDF4me API key. This enables secure, authenticated communication between your Make scenario and PDF4me's image rotation service.

Important Facts You Should Not Miss

No rotation angle needed
The module reads the EXIF Orientation tag directly, so it adapts per image instead of requiring you to set a fixed degree value like a manual rotate module.
Image Type must match the real format
Set Image Type to JPG or PNG to match the actual file. A mismatch between the declared type and the real format can prevent correct processing.
Images without EXIF data pass through unchanged
Screenshots, scanned documents, or images already stripped of metadata have no Orientation tag to read, so the module leaves their orientation as-is.
Make PDF4me Rotate by EXIF Data module configured with File mapped from a previous module, Image File Name, and Image Type set to JPG for automatic orientation correction

Map the source image, set Image File Name and Image Type. The module reads the EXIF Orientation tag and rotates the image automatically.

What Parameters Does Rotate by EXIF Data Need?

Required: Connection, File, Image File Name, and Image Type must all be provided.

ParameterRequiredWhat it doesExample
ConnectionRequiredPDF4me API connection. Click Add and paste your API key the first time. Reused automatically across all PDF4me modules in your scenarios.My PDF4me connection
FileRequiredBinary content of the source image. Map from Dropbox, Google Drive, HTTP, or any previous module that outputs image binary data.1. Data
Image File NameRequiredFilename of the image with extension. Map from the previous module output or set explicitly.photo.jpg
Image TypeRequiredFormat of the source image. Must match the actual file: JPG for JPEG images, PNG for PNG images.JPG

Output

FieldTypeWhat it contains
Image NameStringOutput image filename with corrected orientation.
Image DataBufferThe image with EXIF-based rotation already applied, ready for upload or downstream processing.

Typical Setups

Workflow ExamplesCommon Make scenario patterns using Rotate by EXIF Data.
New Dropbox uploads → auto-corrected photo library
  1. A Dropbox Watch Files trigger fires when a new photo lands in the uploads folder.
  2. An Iterator processes each new image if the upload is a batch.
  3. Rotate by EXIF Data corrects the orientation using the image's own EXIF tag.
  4. A Dropbox Upload step saves the corrected image to the main photo library folder.
  5. A catalog index update step refreshes the library listing with the corrected file.
Product photo upload → orientation fix → CDN publish
  1. A trigger fires when a new product photo is uploaded for the storefront.
  2. Rotate by EXIF Data corrects the orientation before any resizing or compression happens downstream.
  3. A Compress Image step optionally reduces file size for faster page loads.
  4. An Upload to CDN step publishes the corrected, optimized image.
  5. A product record update step links the corrected image URL to the listing.
Scanned inspection photos → correct orientation → PDF report
  1. A mobile inspection app uploads photos taken in the field to a shared folder.
  2. Rotate by EXIF Data corrects any sideways or upside-down shots captured while moving around a site.
  3. Corrected images are embedded into a PDF report using a document generation module.
  4. The finished report is uploaded to a shared inspection archive.
  5. An email notification alerts the reviewing manager that the report is ready.

Practical Tips

Image Type must match the real file format
Setting Image Type to PNG for a file that is actually a JPG (or vice versa) can prevent correct processing. Confirm the format before mapping it in.
Run this before resizing or compressing
Apply EXIF rotation first in your scenario, then resize or compress. Correcting orientation after a resize can compound cropping issues on non-square images.
Re-saved images may have lost EXIF data
If a photo has already passed through another editor or platform that strips metadata, there may be no Orientation tag left to read, and the image will pass through unrotated.
Different phone models write different orientation values
The EXIF Orientation tag can be any value from 1 to 8, not just "rotated 90 degrees." The module handles all standard EXIF orientation values, including mirrored orientations.
This does not read GPS or camera-model EXIF fields
Rotate by EXIF Data uses only the Orientation tag. Use Image - Extract Metadata if your workflow also needs GPS coordinates, camera model, or capture timestamp.
Screenshots typically have no orientation tag
Screenshots and many desktop-generated images never carry an EXIF Orientation tag, so this module has nothing to correct on them and will pass them through unchanged.

Cheat Sheet

FieldValue
ModuleRotate by EXIF Data
ConnectionPDF4me API key
FileBinary image content from a previous module
Image File Namefilename.jpg or filename.png
Image Type (JPEG)JPG
Image Type (PNG)PNG
Rotation angle inputNone needed, read from EXIF tag automatically
Output fieldsImage Name, Image Data

Frequently Asked Questions

What is EXIF orientation and why do photos appear sideways?+
Many smartphone and camera sensors always capture image data in the same physical orientation and record which way the device was actually held in the EXIF Orientation tag (a value from 1 to 8) instead of rotating the pixel data itself. Viewers that ignore this tag display the photo sideways or upside down even though the file itself is fine. Rotate by EXIF Data reads that tag and physically rotates the pixels to match, so the image displays correctly everywhere, including viewers that do not read EXIF metadata. See this <a href="https://superuser.com/questions/36645/how-to-rotate-images-automatically-based-on-exif-data" target="_blank" rel="noopener noreferrer">community explanation of EXIF-based auto-rotation</a> for more background.
Do I need to specify a rotation angle manually?+
No. The module reads the EXIF Orientation tag automatically and applies the correct rotation without you specifying degrees. This is different from a manual Rotate module where you set a fixed angle; EXIF-based rotation adapts per image based on how each photo was actually captured.
What happens if an image has no EXIF orientation data?+
If the source image has no EXIF Orientation tag (common with screenshots, scanned documents, or images already re-saved without metadata), the module leaves the image orientation unchanged since there is no tag to read. Verify Image Type matches the actual file format before running the module, since a mismatched type can prevent correct processing.
How is this different from the general Rotate an Image module?+
The general Rotate an Image module applies a fixed angle you specify (e.g. 90 or 180 degrees) to every image. Rotate by EXIF Data instead reads each image's own Orientation tag and applies whatever correction that specific photo needs, which is why it works well on batches of photos with mixed orientations from different phones or cameras.

Industry Use Cases & Applications

  • Photo Libraries: Correct orientation in photo collections
  • Stock Photos: Prepare images for stock libraries
  • Event Photography: Fix orientation in event photo batches
  • Portrait Correction: Ensure correct portrait orientation

Same Task on Other Platforms

Get Help