EXIF Orientation problem when generating PDF with puppeteer

Viewed 87

I have a tool to document special plans. I upload an image from my Smartphone with EXIF orientation data.

The plan is generated as HTML with snapSVG. I show a preview of the HTML and the image is correct.

But when I put the HTML to a page of a puppeteer chromium Browser and save it as a PDF the Image has the wrong orientation.

How can I fix this?

Thank you.

0 Answers
Related