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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
35 - 32 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Tue Sep 22 21:01:24 2020 UTC