Imager::ExifOrientation - A picture is rotated using Orientation of Exif
use Imager::ExifOrientation; # rotate by original image my $image = Imager::ExifOrientation->rotate( file => 'foo.jpg' ); # rotate by original image data my $data = do { open my $fh, '<', 'foo.jpg'; local $/; <$fh>; }; my $image = Imager::ExifOrientation->rotate( data => $data );
Imager::ExifOrientation is a picture is rotated based on the information on Exif.
rotate method rotates based on an original jpeg picture. It is rotated to Imager object by using Filter.
Kazuhiro Osawa <yappo <at> shibuya <döt> pl>
Imager, Image::ExifTool, Imager::Filter::ExifOrientation
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '<döt>'. Assuming UTF-8
To install Imager::ExifOrientation, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imager::ExifOrientation
CPAN shell
perl -MCPAN -e shell install Imager::ExifOrientation
For more information on module installation, please visit the detailed CPAN module installation guide.