php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78923 Artifacts when convoluting image with transparency
Submitted: 2019-12-07 10:57 UTC Modified: 2019-12-07 11:07 UTC
From: cmb@php.net Assigned: cmb (profile)
Status: Closed Package: GD related
PHP Version: 7.3.12 OS: *
Private report: No CVE-ID: None
 [2019-12-07 10:57 UTC] 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


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-07 10:58 UTC] 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 11:07 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2019-12-07 11:10 UTC] cmb@php.net
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
 [2019-12-07 11:10 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC