Image rotation in generated pdfs

Hello,

we are generating pdfs which have user's photo in it (Picture object). Sometimes this photo (jpg image) is rotated - technically the EXIF metadata has Orientation = "Rotate 90 CW" for example.

Preview of the photo in browser is shown correctly - browser auto-rotates the image. But in generated pdf is not auto-rotated, so it shows "wrongly" rotated photo.

Is it possible to add function to enable Auto-rotation for Picture object?

Thank you,

Martin Zákostelský

Leave a Comment