[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22591: 25.0.50; [PATCH] imagemagick orientation EXIF tag is respecte
bug#22591: 25.0.50; [PATCH] imagemagick orientation EXIF tag is respected
Wed, 10 Feb 2016 15:40:25 +1100
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
Lars Ingebrigtsen <address@hidden> writes:
> Dima Kogan <address@hidden> writes:
>> Hi. Here are two small patches to improve handling of images loaded with
>> the imagemagick backend. They are:
>> 1. Accept integer :rotation parameters. Previously only floating-point
>> ones worked
>> 2. If an EXIF orientation tag exists and no explicit :rotation exists,
>> use the orientation. This happens early in the processing, so all the
>> data (width, height, etc) that emacs sees applies to the rotated image.
>> The motivation for this was that I was tired of seeing upside-down
>> photos in my mu4e mail.
> Looks good. I wonder whether this should go in the trunk, though? It's
> a new feature of sorts. But we could consider not showing images
> correctly rotated a bug...
I applied it to emacs-25. Not respecting EXIF rotations is kinda a bug.
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no