Image filter module
Andrew Hutchings
ahutchings at nginx.com
Mon Feb 29 15:03:36 UTC 2016
Hi Ayman,
The module uses the GD library underneath which doesn't support EXIF
rotation (or really any of EXIF). In addition the module will strip off
the EXIF data if it is more than 5% of the image size.
If you wish to preserve the EXIF you may need to make a microservice to
do the resizing whilst either rotating using the EXIF or preserving the
EXIF.
There are several examples on the internet on how to do this with a
small PHP script using the EXIF and GD module or ImageMagick.
Kind Regards
Andrew
On 29/02/16 14:09, Ayman Al-Shorman wrote:
> Hello,
>
> I just installed image filter module for resizing images.
> It worked as expected but we faced an issue that this module doesn't respect EXIF so some images are being rotated to the original state then nginx resize it.
> Any idea how to fix this?
>
> Thanks
>
> Ayman
>
> Sent from my iPhone
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
--
Andrew Hutchings (LinuxJedi)
Technical Product Manager, NGINX Inc.
More information about the nginx
mailing list