Sorry, I should read trackers more carefully :)
So indeed you are right about Exif rotation (I've checked the Exif specification to be sure).
Your suggested changes have been commited to the CVS.
Thanks again for your help :)
Hervé
ps : do not reply to this tracker unless you need to reopen it. It will be closed automatically in 14 days.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Patch to fix incorrect loading of exif orientations id's 2 & 4.
Hi,
This patch is invalid as rotation info is extracted from Exif metadata. What you suggest is to ignore Exif metadata for cases 2 or 4.
Drolon, my patch alters the action of the JPEG load code when an exif orientation id of 2 or 4 is encountered within a JPEG.
I.e, the current code shows this:
case 2: // "top, right side" => +180°
rotated = FreeImage_RotateClassic(*dib, 180);
As I read it "top, right" is not a 180° rotation. It is a mirror across the center Y axis. i.e: FreeImage_FlipHorizontal(*dib);
Sorry, I should read trackers more carefully :)
So indeed you are right about Exif rotation (I've checked the Exif specification to be sure).
Your suggested changes have been commited to the CVS.
Thanks again for your help :)
Hervé
ps : do not reply to this tracker unless you need to reopen it. It will be closed automatically in 14 days.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).