|  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: 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:
Solve the problem:
49 - 16 = ?
Subscribe to this entry?

 [2019-12-07 10:57 UTC]
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:

Expected result:
No black pixels

Actual result:
Black pixel artifacts


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-07 10:58 UTC]
The following pull request has been associated:

Patch Name: ext/gd: fix new_a init error in gdImageConvolution()
On GitHub:
 [2019-12-07 11:07 UTC]
-Assigned To: +Assigned To: cmb
 [2019-12-07 11:10 UTC]
Automatic comment on behalf of
Log: Fix #78923: Artifacts when convoluting image with transparency
 [2019-12-07 11:10 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 24 01:03:38 2021 UTC