The Mysterious Sideways Photo Problem
You take a portrait photograph of a document or passport using your mobile phone, upload it to an online PDF converter, and discover the output page is rotated 90 degrees horizontally.
This occurs because smartphone cameras do not rotate the physical pixel grid when you hold your phone vertically; instead, they write the raw camera sensor grid and record an EXIF Orientation Tag (values 1 to 8) instructing image viewers how to display the image.
How Modern Converters Handle EXIF Tags
Naïve converters strip metadata and draw raw image matrices, resulting in sideways documents. Modern client-side tools parse EXIF metadata and normalize rotation directly onto an HTML5 Canvas before assembling the PDF page.
Step-by-Step Fix
- Open our JPG to PDF tool.
- Select your mobile photos. The tool automatically reads EXIF tags and renders pages in their true visual orientation.
- If an existing document is already improperly rotated, pass it through our Rotate PDF tool to save the correct orientation permanently.