Name

mean — mean error per pixel

Synopsis

$image->Get('mean')

This value reflects the mean error per pixel introduced when reducing the number of colors in an image with method Quantize( ). The mean error gives one measure of how well the color reduction algorithm performed and how close the color reduced image is to the original.

Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.