[OSM-Photos] Exif-orientation not regarded

malenki osm_ at malenki.ch
Sat Dec 12 04:22:21 GMT 2009


Liz wrote:

>sorry about link breaking, i don't think that kmail will behave that
>way at all

I know that claws-mail doesn't behave so while recieving/displaying. :)

>i rotate images with imagemagick

As your second link shows imagemagick is not able to rotate lossless
(without re-encoding). 
Since some tools seem to be fine with jpegtran I had once more a look
at that tool. What I had overseen was that using "-copy all" will 
"Copy all extra markers" - I think that means: all Exif-data.

This worked fine now:
for i; do jpegtran -copy all -rotate 90 "$i" > "$i"_; rm -f "$i";mv
"$i"_ "$i";done

Regards
malenki





More information about the Photos mailing list