diegomura / diegomura/react-pdf

Orientation of some images is incorrect

Open
#2,972 5 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
TypeScript
Stars
16.8k
Forks
1.3k
Avg merge
5h 6m
Merged PRs (30d)
52

Description

**Describe the bug**
Some images are rendered with the incorrect orientation (i.e. rotated 90 CCW)

**To Reproduce**
Try to render this file
![14584b6b25987936ec666db6445209d5](https://github.com/user-attachments/assets/e0ce137c-4951-406f-8b78-542557af25e7)

**Expected behavior**
The image should be rendered the same way as when you open the file in an image viewer

**Screenshots**
![comparison](https://github.com/user-attachments/assets/c54a9f3f-d76e-4aa9-97f9-8d4ba0984222)

**Desktop (please complete the following information):**

- OS: Windows 11
- Browser: Chrome
- React-pdf version 9.1.1
- React renderer version 4.1.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.