Name
Contrast( ) — enhance or reduce the image contrast
Synopsis
$image->Contrast(sharpen=>{1, 0})
Contrast( )
enhances
the intensity differences between the lighter and darker elements of
the image. Setting the sharpen parameter to 1 will enhance the image
and setting it to
will reduce the image contrast.
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.