Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Rotated pictures are not detected

#154

Today I learned that there's a rotation flag in jpeg metadata and that when that flag is set, opening the picture automatically performs the rotation, thus making two picture that are exactly the same except for that flag to not match at all.

I'll have to check if it's possible to open pictures without performing that rotation.

Reported by Virgil Dupras · March 24th, 2011 @ 10:57 AM

State: fixed
Milestone: none
Assigned to: nobody

Activity

  1. Virgil Dupras
    Virgil Dupras

    Oops, I got it backwards: The image itself is rotated, but the EXIF data has an orientation flag set (in the specific case that was brought to me, to the value "6") and if that rotation was performed, the pictures would match.

    March 24th, 2011 @ 11:18 AM

  2. Virgil Dupras
  3. Virgil Dupras
  4. Virgil Dupras
    Virgil Dupras

    Whew, that was a lot more work than I expected (now I'm a bit better with CGImage transforms...)!

    May 31st, 2011 @ 04:06 PM

  5. Steven Liao
    Steven Liao

    Hi, so how do I implement the change to the software in order to detect those duplicated rotated photo

    July 12th, 2011 @ 04:29 PM

  6. Virgil Dupras
    Virgil Dupras

    It's already implemented.

    July 12th, 2011 @ 04:52 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.