NAME
App::MathImage::Image::Base::Magick -- draw images using Image Magick
SYNOPSIS
use App::MathImage::Image::Base::Magick;
my $image = App::MathImage::Image::Base::Magick->new (-width => 100,
-height => 100);
$image->rectangle (0,0, 99,99, 'white');
$image->xy (20,20, 'black');
$image->line (50,50, 70,70, '#FF00FF');
$image->line (50,50, 70,70, '#0000AAAA9999');
$image->save ('/some/filename.png');
CLASS HIERARCHY
App::MathImage::Image::Base::Magick is a subclass of Image::Base,
Image::Base
App::MathImage::Image::Base::Magick
DESCRIPTION
App::MathImage::Image::Base::Magick extends Image::Base to create or update image files using ImageMagick through the Image::Magick module.
FUNCTIONS
$image = App::MathImage::Image::Base::Magick->new (key=>value,...)-
Create and return a new image object. A new image can be started with
-widthand-height,$image = App::MathImage::Image::Base::Magick->new (-width => 200, -height => 100);Or an existing file can be read,
$image = App::MathImage::Image::Base::Magick->new (-file => '/some/filename.png');Or a
Image::Magickobject can be given,$image = App::MathImage::Image::Base::Magick->new (-imagemagick => $mobj);
ATTRIBUTES
-width(integer)-height(integer)-
Setting these changes the size of the image.
-imagemagick-
The underlying
Image::Magickobject.
SEE ALSO
Image::Base, Image::Base::GD, Image::Base::PNGwriter, Image::Magick, Image::Xbm, Image::Xpm, Image::Pbm