#34992 [Opn->Asn]: imageconvolution does not respect alpha

From: Date: Wed, 26 Oct 2005 10:42:10 +0000
Subject: #34992 [Opn->Asn]: imageconvolution does not respect alpha
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87079@lists.php.net to get a copy of this message
ID: 34992 Updated by: tony2001@php.net Reported By: jaanus at underwerks dot com -Status: Open +Status: Assigned Bug Type: GD related Operating System: Linux 2.6.13 PHP Version: 6CVS-2005-10-26 (snap) -Assigned To: +Assigned To: pajoye New Comment: Assigned to the maintainer. Previous Comments: ------------------------------------------------------------------------ [2005-10-26 11:15:59] jaanus at underwerks dot com Description: ------------ imageconvolution destroys 8bit alpha channel in subject image Reproduce code: --------------- <?PHP $img=imagecreatefromjpeg("image.png"); imageconvolution($img,array(array(-1,-1,-1),array(-1,16,-1),array(-1,-1, -1)), 8,0); imagejpeg($img,"test.png"); ?> Expected result: ---------------- A sharpened image with intact alpha channel, alternavly sharpened alpha channel Actual result: -------------- Image is flattened against black background even if the color data of the background indicates it should be white. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34992&edit=1

« previous php.bugs (#87079) next »