[Webkit-unassigned] [Bug 19688] Add autodetection of image orientation from EXIF information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 26 15:14:55 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=19688





--- Comment #66 from Robert O'Callahan <roc at ocallahan.org>  2011-05-26 15:14:53 PST ---
It would be surprising if Windows 7 Photo Viewer and all Web browsers are the only image viewers that don't respect the orientation tag. Indeed, OpenOffice "Insert Picture" and Microsoft Paint don't either. Obviously anything that uses the IE ActiveX control (or Webkit, for that matter) wouldn't.

I can't find anywhere in the EXIF spec or related specs that says which tag to use if there's more than one orientation tag (what you get when Windows Photo Viewer rotates an image). It would be interesting to compare EXIF-aware viewers to see if there's interop on that. Here's an image you can try:
http://people.mozilla.org/~roc/IMG_20110526_110158.jpg
If it displays correctly, you're using the last EXIF orientation tag; if it displays incorrectly, you're using the first one.

There's at least a very strong argument that if you're producing JPEGs you should not use the EXIF orientation tag.

Maybe we should do something in browsers to deal with EXIF orientation, but I'm leery of creating more interop problems. I feel tempted to hold the line and keep things simple by ignoring it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list