Graphics::Magick::Object::Image - An individual image to play around with.
Version 0.01_01
This is a completely experimental module, so all interfaces will very likely change. Please don't rely on it until version 1.0!
A single image available for manipulation.
use Graphics::Magick::Object::Image; my $image1 = new Graphics::Magick::Object::Image(); my $image2 = new Graphics::Magick::Object::Image(filename => 'filename.png');
Or, alternately: use Graphics::Magick::Object; my $magick = new Graphics::Magick::Object(); my $image = $magick->read('filename.png');
The Graphics::Magick object we're a wrapper around.
The filename that this image is to be loaded from.
The width of this image.
The height of this image.
The format of this image, as described by Graphics::Magick.
The format of this image, as represented by a MIME type.
We read off the filename on load.
$magick->load_from_file($filename)
Loads a file and sets up all the variables.
$magick->export($filename)
Exports to the filename specified. As with Graphics::Magick, you can use the file extension to export to a particular file type.
Gaurav Vaidya, <gaurav at cpan.org>
<gaurav at cpan.org>
Please report any bugs or feature requests to bug-graphics-magick-object-image at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Graphics-Magick-Object. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-graphics-magick-object-image at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Graphics::Magick::Object
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Graphics-Magick-Object
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Graphics-Magick-Object
CPAN Ratings
http://cpanratings.perl.org/d/Graphics-Magick-Object
Search CPAN
http://search.cpan.org/dist/Graphics-Magick-Object
Copyright 2009 Gaurav Vaidya, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Graphics::Magick::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graphics::Magick::Object
CPAN shell
perl -MCPAN -e shell install Graphics::Magick::Object
For more information on module installation, please visit the detailed CPAN module installation guide.