ID:               33125
 Updated by:       [EMAIL PROTECTED]
 Reported By:      thomas at krantz dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         GD related
 Operating System: Linux
 PHP Version:      5.0.4, 4.3.11
 Assigned To:      pajoye
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed in all cvs branches, thanks for your feedback.


Previous Comments:
------------------------------------------------------------------------

[2005-05-24 13:50:25] thomas at krantz dot com

Description:
------------
When merging two images, one normal and the other one completely black,
the output from imagecopymergegray produces a weird looking mosaic of
the first.

Reproduce code:
---------------
<?php
$imPng = imagecreatefrompng("Tiles/Bamboo/9.png");
$imSrc = imagecreatefrompng("Tiles/Bamboo/black.png");
$height = imagesy($imPng); 
imagecopymergegray($imPng, $imSrc, 0, 0, 0, 0, $height, $height, 50);
header("Content-type: image/png");
imagePng($imPng);
?>
See also 
http://www.tilehog.net/prepermission/showbug.html

Expected result:
----------------
The original image should be darkened by 50%. This was the result in
the earlier version (4.3.10).

Actual result:
--------------
http://www.tilehog.net/prepermission/showbug.html


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33125&edit=1

Reply via email to