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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 12:01:31 2024 UTC