Opened 10 years ago

Closed 10 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)



Subtickets

Change History (13)

comment:1 Changed 10 years ago by Christopher Allan Webber

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



comment:2 Changed 10 years ago by Inconexo ø

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



comment:3 Changed 10 years ago by Aleksej

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 Changed 10 years ago by Christopher Allan Webber

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 Changed 10 years ago by Aleksej

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



comment:6 Changed 10 years ago by maiki interi

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 Changed 10 years ago by Greg Grossmeier

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 Changed 10 years ago by Aleksej

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 Changed 10 years ago by Elrond

Milestone: 0.2.00.2.1
roll over



comment:10 Changed 10 years ago by Christopher Allan Webber

Owner: set to Joar Wandborg
Assigned to Joar ;)



comment:11 Changed 10 years ago by Shawn Khan

Status: NewIn Progress

comment:11 Changed 10 years ago by Will Kahn-Greene

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

comment:12 Changed 10 years ago by Aleksej

Resolution: fixed
Status: acceptedclosed

Yay. Thanks, Joar!

Note: See TracTickets for help on using tickets.