ID:               34992
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to