diegomura/react-pdf

Orientation of some images is incorrect

Open

#2972 opened on Nov 21, 2024

View on GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (13,687 stars) (1,116 forks)batch import
help wanted

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

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

Screenshots comparison

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