Dmitry Karasik > IPA-1.08 > IPA::Geometry

Download:
IPA-1.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.02   Source  

NAME ^

IPA::Geometry - mapping pixels from one location to another

API ^

mirror IMAGE [ type ]

Mirrors IMAGE vertically or horizontally, depending on integer type, which can be one of the following constants:

   IPA::Geometry::vertical
   IPA::Geometry::horizontal

Supported types: all

shift_rotate IMAGE [ where, size ]

Shifts image in direction where, which is one of the following constants

   IPA::Geometry::vertical
   IPA::Geometry::horizontal

by the offset, specified by integer size.

Supported types: all, except that the horizontal transformation does not support 1- and 4- bit images.

rotate90 IMAGE [ clockwise = true ]

Rotates image on 90 degrees clockwise or counter-clockwise

rotate180 IMAGE

Rotates image on 180 degrees

syntax highlighting: