[php-src] Issue #8026: imagepng - when passed only quality and quality is > 9 do not output into buffer

From: Date: Thu, 03 Feb 2022 15:39:55 +0000
Subject: [php-src] Issue #8026: imagepng - when passed only quality and quality is > 9 do not output into buffer
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239445@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8026 Comment Author: cmb69 The $quality must be in range 0 to 9. If you pass 98, you get a warning: "imagepng(): gd-png error: compression level must be 0 through 9", and the function returs false, which is converted to an empty string.

« previous php.bugs (#239445) next »