Closed Bug 1948041 Opened 1 month ago Closed 1 month ago

Latex generated pdf files containing portrait photos from mobiles render in incorrect orientation

Categories

(Firefox :: PDF Viewer, defect)

Firefox 135
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1942064

People

(Reporter: freddiewatkins6, Unassigned)

Details

Attachments

(1 file)

Attached image MinimumExample.png

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0

Steps to reproduce:

Created a latex file containing an image that was taken on an android phone in portrait mode
The attached screenshot shows the vscode (correct) rendering on the left and firefox on the right.
Minimum reproducible example below:
\documentclass{article}

\usepackage{graphicx}

\begin{document}

\includegraphics[width=\textwidth]{MatsumotoJo.jpg} %Portrait android phone photo

\end{document}

Actual results:

The footprint of the image is correct, but the image itself is rotated 90 degrees and warped to fit the same frame (see screenshot)

Expected results:

In other pdf renderers (chrome, vscode) the image displays correctly

The Bugbug bot thinks this bug should belong to the 'Fenix::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → Fenix
Component: General → PDF Viewer
OS: Unspecified → Linux
Product: Fenix → Firefox
Hardware: Unspecified → x86_64
Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Duplicate of bug: 1942064
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: