Michaeljep
(Michael Jeppesen)
July 17, 2024, 8:12am
1
Hi
Maybe this is a question for @Yoichi as I’ve used his reply in an other thread to resize images.
However, when saving the image the output image is rotated
Google tells me that the EXIF data on the image contains a property that says “Rotate 90”
And that should be the reason why the picture is rotated.
How can I ignore that or prevent the output to be rotated, I want the output to be exactly as the input only in a smaller size.
For further reference : 2448 X 3264 add image problem · Issue #2740 · parallax/jsPDF · GitHub
ppr
(Peter Preuss)
July 17, 2024, 10:53am
2
it looks like we can detect the set rotation by:
and can react / rotate it for corrections, if needed
UPD1 - refering to a list of properties and details we can see:
And find it back on:
so it is 90 CW rotation
https://exiftool.org/TagNames/EXIF.html
1 Like
Michaeljep
(Michael Jeppesen)
July 18, 2024, 6:39am
3
I’m not that familiar with C#, it looks to me to be some ekstra steps. Is it possible to do in the same activity or am I forced to do multiple steps to accomodate for the rotate?