note 14930 added to function.imagecolorallocate.php

From: Date: Tue, 21 Aug 2001 21:29:05 +0000
Subject: note 14930 added to function.imagecolorallocate.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16964@lists.php.net to get a copy of this message
The trouble with ImageColorAllocate() is that it doesn't track what it's already done. If you tell it to allocate a color 10 times, it will create 10 pallette entries for the exact same color. Seems rather redundant. http://www.php.net/manual/en/function.imagecolorallocate.php

« previous php.notes (#16964) next »