Image Difference
You can create a new image that is the difference between 2 other images.
my $diff = $img->difference(other=>$other_img);
For each pixel in $img that is different to the pixel
in $other_img, the pixel from $other_img is given,
otherwise the pixel is transparent black.
This can be used for debugging image differences
("Where are they different?"), and for optimizing
animated GIFs.
In reply to Re^3: Using Perl and the GIMP to compare images
by shotgunefx
in thread Using Perl and the GIMP to compare images
by sailortailorson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |