note 19128 added to function.imagecolorallocate

From: Date: Sun, 17 Feb 2002 01:30:57 +0000
Subject: note 19128 added to function.imagecolorallocate
Groups: php.notes 
Request: Send a blank email to php-notes+get-26707@lists.php.net to get a copy of this message
Actually, you can't allocate more than 256 colours for an paletted image (ImageCreate). Use ImageCreateTrueColor instead. For it to work, you need libgd version 2 support in php though. -- http://www.php.net/manual/en/function.imagecolorallocate.php http://master.php.net/manage/user-notes.php?action=edit+19128 http://master.php.net/manage/user-notes.php?action=delete+19128 http://master.php.net/manage/user-notes.php?action=reject+19128

« previous php.notes (#26707) next »