From 266075cf62844ab639553c807de52ea9866f34b5 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Fri, 11 May 2012 09:22:00 -0400 Subject: thumbnail: Specify that orientation metadata should be respected https://bugs.freedesktop.org/show_bug.cgi?id=49798 See http://lists.freedesktop.org/archives/xdg/2012-May/012396.html --- thumbnail/thumbnail-spec.sgml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/thumbnail/thumbnail-spec.sgml b/thumbnail/thumbnail-spec.sgml index 2eb1a53..cc6c70c 100644 --- a/thumbnail/thumbnail-spec.sgml +++ b/thumbnail/thumbnail-spec.sgml @@ -234,6 +234,15 @@ $XDG_CACHE_HOME/thumbnails/fail/ possible quality when creating the thumbnail. The exact meaning of this is left to the specific program but it should consider applying antialiasing. + + If the original file contains metadata affecting the interpretation + of the image, it should be respected as much as possible. In particular, + metadata specifying the orientation of the original image data should + always be respected. The image data should be transformed as specified by the + metadata before generating the thumbnail. JPEG files commonly have Exif + orientation tags. TIFF files may also have Exif orientation tags, although + this is less common. It is less critical, but still desirable, to respect + other image metadata, such as white balance information. Thumbnail Attributes -- cgit v1.2.3-54-g00ecf