Bug #78923 [Asn->Csd]: Artifacts when convoluting image with transparency

From: Date: Sat, 07 Dec 2019 11:10:23 +0000
Subject: Bug #78923 [Asn->Csd]: Artifacts when convoluting image with transparency
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224112@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78923&edit=1 ID: 78923 Updated by: cmb@php.net Reported by: cmb@php.net Summary: Artifacts when convoluting image with transparency -Status: Assigned +Status: Closed Type: Bug Package: GD related Operating System: * PHP Version: 7.3.12 Assigned To: cmb Block user comment: N Private report: N New Comment: Automatic comment on behalf of willson.chenwx@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=b5d2cbe02739a0c9b16e7b37ce44e71d1d657daa Log: Fix #78923: Artifacts when convoluting image with transparency Previous Comments: ------------------------------------------------------------------------ [2019-12-07 10:58:12] cmb@php.net The following pull request has been associated: Patch Name: ext/gd: fix new_a init error in gdImageConvolution() On GitHub: https://github.com/php/php-src/pull/4978 Patch: https://github.com/php/php-src/pull/4978.patch ------------------------------------------------------------------------ [2019-12-07 10:57:46] cmb@php.net Description: ------------ If gdImageConvolution() is applied to an image with a transparent background, there can be black pixel artifacts (at the upper edge of opaque parts, and at the top left of the image), what appears to be a bug. Test script: --------------- ext/gd/tests/bug47946.phpt Expected result: ---------------- No black pixels Actual result: -------------- Black pixel artifacts ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78923&edit=1

« previous php.bugs (#224112) next »