Ask a Question related to PHP Development, Design and Development.
-
sniper@php.net #1
#24585 [Opn->Fbk]: imagecopymergegray
ID: 24585
Updated by: [email]sniper@php.net[/email]
Reported By: eric at pitte dot de
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: Suse 8.2
PHP Version: 4.3.2
New Comment:
That spong.png image would be nice to have. Put it online somewhere or
give link to any png file that produces the same problem.
Previous Comments:
------------------------------------------------------------------------
[2003-07-10 05:37:05] eric at pitte dot de
Description:
------------
I see a problem with the imagecopymergegray funktion.
It does not seems to be possible to make grayscale from a png color
image.
See my code. Spion.png is a color image and spion2 should be a
grayscale one, but the result is also a color picture.
Is this problem known ?
Reproduce code:
---------------
<?php
$pic = imageCreateFrompng("spion.png");
imagecopymergegray($pic,$pic,0,0,0,0,500,500,20);
imagepng($pic,"spion2.png");
imagedestroy($pic);
?>
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=24585&edit=1[/url]
sniper@php.net Guest
-
#25476 [Fbk->NoF]: imagecopymergegray() crashes
ID: 25476 Updated by: sniper@php.net Reported By: ernesto at music dot lv -Status: Feedback +Status: ... -
#25476 [Opn->Fbk]: imagecopymergegray craches apache
ID: 25476 Updated by: derick@php.net Reported By: ernesto at music dot lv -Status: Open +Status: ... -
#25476 [NEW]: imagecopymergegray craches apache
From: ernesto at music dot lv Operating system: Linux or Windows, Apache PHP version: 4.3.3 PHP Bug Type: Reproducible crash... -
#24585 [Opn]: imagecopymergegray
ID: 24585 Updated by: sniper@php.net Reported By: eric at pitte dot de Status: Open Bug Type: GD... -
#24585 [Fbk->Opn]: imagecopymergegray
ID: 24585 User updated by: eric at pitte dot de Reported By: eric at pitte dot de -Status: Feedback +Status: ... -
sniper@php.net #2
#24585 [Opn->Fbk]: imagecopymergegray
ID: 24585
Updated by: [email]sniper@php.net[/email]
Reported By: eric at pitte dot de
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: Suse 8.2
PHP Version: 4.3.2
New Comment:
Do NOT send me any mails!!
Put the image online somewhere or find some online image that we can
use that produces the same problem.
Previous Comments:
------------------------------------------------------------------------
[2003-07-10 12:33:46] eric at pitte dot de
i send you directly one of the pix i tryied to convert to greyscale.
------------------------------------------------------------------------
[2003-07-10 12:23:12] [email]sniper@php.net[/email]
That spong.png image would be nice to have. Put it online somewhere or
give link to any png file that produces the same problem.
------------------------------------------------------------------------
[2003-07-10 05:37:05] eric at pitte dot de
Description:
------------
I see a problem with the imagecopymergegray funktion.
It does not seems to be possible to make grayscale from a png color
image.
See my code. Spion.png is a color image and spion2 should be a
grayscale one, but the result is also a color picture.
Is this problem known ?
Reproduce code:
---------------
<?php
$pic = imageCreateFrompng("spion.png");
imagecopymergegray($pic,$pic,0,0,0,0,500,500,20);
imagepng($pic,"spion2.png");
imagedestroy($pic);
?>
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=24585&edit=1[/url]
sniper@php.net Guest



Reply With Quote

