Name

quality — compression level

Synopsis

$image->Set(quality=>{0..100})
$image->Get('quality')

The quality attribute sets the JPEG, MIFF, or PNG compression level. The range is (worst) to 100 (best). The default is 75.

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.