Image::Compare::IMAGE - Compares two images and creates a third image representing their differences.
See the docs for Image::Compare for details on how to use this module. Further documentation is meant for those modifying or subclassing this comparator. See the documentation in Image::Compare::Comparator for general information about making your own comparator subclasses.
Sets up the image which will be used to store the differential data.
This method is called for each pixel in the two images to be compared. The difference between each pair of pictures is saved as color data in the internal picture representation. This method never short-circuits; when this comparator is used, all pixels are compared, every time.
Returns the internal image.
Copyright 2008 Avi Finkel <email@example.com>
This package is free software and is provided "as is" without express or implied warranty. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)
To install Image::Compare, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.