Opened 13 years ago

Closed 13 years ago

#284 closed defect (fixed)

Support "Orientation" EXIF tag

Reported by: Aleksej Owned by: joar
Priority: minor Milestone: 0.2.1
Component: programming Keywords:
Cc: Parent Tickets:

Description

The tag specifies that the image is to be displayed rotated and
how.

The tag is supported by:


-  MediaWiki (it generates thumbnails already rotated).
-  digiKam (there is an option to set Orientation after rotating an
   image)
-  Geeqie (rotates for displaying)
-  Nautilus
-  Eye of GNOME
-  Thunar
-  exiftran (according to the man page)



Change History (13)

comment:1 by Christopher Allan Webber, 13 years ago

Milestone: 0.2.0
If it's supported by that much, agreed we should support it too!



comment:2 by Inconexo ø, 13 years ago

Should also the original image be rotated? Or should it be kept
untouched? If untouched, can we rotate it by HTML/CSS ?



comment:3 by Aleksej, 13 years ago

Inconexo ø wrote:

    Should also the original image be rotated? Or should it be kept
    untouched? If untouched, can we rotate it by HTML/CSS ?


The file should be kept untouched (that's the point of still using
the tag and not just rotating the image, because rotation can be
lossy).



comment:4 by Christopher Allan Webber, 13 years ago

Do any browsers support that tag though? Might be a bit annoying if
you click on the image and it brings you to an un-rotated version?

Conversations on IRC seemed to indicate that only Konqueror
supports it right now? Am I wrong?



comment:5 by Aleksej, 13 years ago

You can provide a converted file, but also provide the original
file as "Original".



comment:6 by maiki interi, 13 years ago

Christopher Webber wrote:

    Do any browsers support that tag though? Might be a bit annoying if
    you click on the image and it brings you to an un-rotated version?

    Conversations on IRC seemed to indicate that only Konqueror
    supports it right now? Am I wrong?


I wonder if that is something to consider. It doesn't seem to me
that many people view the full size image by itself in a browser.
That is just me watching people use Gallery and Flickr. YMMV.

I am for leaving the image untouched, letting the metadata dictate
how it it oriented, and then let people use their native OS/apps to
manipulate the "raw" image if they choose to save it for whatever
reason.

Aleksej Serdjukov wrote:

    You can provide a converted file, but also provide the original
    file as "Original".


I was going to make a feature request that covered this, but the
idea is that I like the way Flickr has multiple sized images, with
a sizing menu above it. I get the impression they do it that way to
obfuscate how to download images, but I think it would be nice to
produce a view like that in a non-creepy fashion.

Check out
`https://secure.flickr.com/photos/goldengatexpress/6282214635/sizes/l/in/photostream/ <https://secure.flickr.com/photos/goldengatexpress/6282214635/sizes/l/in/photostream/>`_
for an example of the sizes and the creepy, "let's pretend we don't
know how websites work" message.

**Question**: Will this work in a way that is retroactive? I've
begun modifying my images to orient them correctly, but if this
will load it at view time or something, I wouldn't have to do that.
How lazy can I be? =]



comment:7 by Greg Grossmeier, 13 years ago

There was a recent change to the way Wikimedia Commons handled EXIF
orientation data. See:
`https://secure.wikimedia.org/wikipedia/commons/wiki/Commons:Rotation <https://secure.wikimedia.org/wikipedia/commons/wiki/Commons:Rotation>`_



comment:8 by Aleksej, 13 years ago

Greg Grossmeier wrote:

    There was a recent change to the way Wikimedia Commons handled EXIF
    orientation data.


That's what I meant by support in MediaWiki. As you can see, the
change is still controversial there, but it's mainly because of
existing files with wrong metadata.



comment:9 by Elrond, 13 years ago

Milestone: 0.2.00.2.1
roll over



comment:10 by Christopher Allan Webber, 13 years ago

Owner: set to Joar Wandborg
Assigned to Joar ;)



comment:11 by Shawn Khan, 13 years ago

Status: NewIn Progress

comment:11 by Will Kahn-Greene, 13 years ago

The original url for this bug was http://bugs.foocorp.net/issues/628 .

comment:12 by Aleksej, 13 years ago

Resolution: fixed
Status: acceptedclosed

Yay. Thanks, Joar!

Note: See TracTickets for help on using tickets.