Kazuhiro Osawa > Imager-ExifOrientation-0.07 > Imager::ExifOrientation

Download:
Imager-ExifOrientation-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.07   Source  

NAME ^

Imager::ExifOrientation - A picture is rotated using Orientation of Exif

SYNOPSIS ^

  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
  );

DESCRIPTION ^

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.

AUTHOR ^

Kazuhiro Osawa <yappo <at> shibuya <döt> pl>

SEE ALSO ^

Imager, Image::ExifTool, Imager::Filter::ExifOrientation

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: