|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-10 12:23 UTC] sniper@php.net
[2003-07-10 12:33 UTC] eric at pitte dot de
[2003-07-10 12:53 UTC] sniper@php.net
[2003-07-10 13:02 UTC] eric at pitte dot de
[2003-07-10 15:49 UTC] sniper@php.net
[2003-08-08 04:10 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 08:00:01 2025 UTC |
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); ?>