note 25585 added to function.imagecopymerge

From: Date: Sun, 29 Sep 2002 10:36:50 +0000
Subject: note 25585 added to function.imagecopymerge
Groups: php.notes 
Request: Send a blank email to php-notes+get-37385@lists.php.net to get a copy of this message
If you need to merge 2 png's (or presumably 2 gifs) with different color palettes, I have found this is the function to use. Just set pct to 99, and you are rocking. With pct set to 100, or imagecopy for that matter, the palette seems to go wonky. (It probably just uses the palette of the source image. but don't quote me on that). -- http://www.php.net/manual/en/function.imagecopymerge.php http://master.php.net/manage/user-notes.php?action=edit+25585 http://master.php.net/manage/user-notes.php?action=delete+25585 http://master.php.net/manage/user-notes.php?action=reject+25585

« previous php.notes (#37385) next »