Image::JpegTran::AutoRotate - Losslessly fix JPEG orientation
use Image::JpegTran::AutoRotate; # auto-exports auto_rotate auto_rotate('file.jpg'); # rotates in-place (via a temporary file) auto_rotate('from.jpg' => 'to.jpg'); # writes to another file
Transforms JPEG files so that orientation becomes 1.
This is the same operation as exifautotran, but with no dependencies on command-line programs; instead, we use the excellent Image::JpegTran and Image::ExifTool CPAN modules.
exifautotran
http://sylvana.net/jpegcrop/exif_orientation.html
唐鳳 <cpan@audreyt.org>
To the extent possible under law, 唐鳳 has waived all copyright and related or neighboring rights to Image::JpegTran::AutoRotate.
This work is published from Taiwan.
http://creativecommons.org/publicdomain/zero/1.0
To install Image::JpegTran::AutoRotate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::JpegTran::AutoRotate
CPAN shell
perl -MCPAN -e shell install Image::JpegTran::AutoRotate
For more information on module installation, please visit the detailed CPAN module installation guide.