note 30925 deleted from function.imagettftext by vincent

From: Date: Thu, 11 Sep 2003 20:30:13 +0000
Subject: note 30925 deleted from function.imagettftext by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56239@lists.php.net to get a copy of this message
Note Submitter: henrik at hipphipphurra dot nu ---- If you try to write ttftext on a 256 color gif or png8 the text color and background color cannot be allocated, since all the colors are already in use. The result will most certainly look awful. The solution is: Save your images (from Photoshop or Gimp), on witch you plan to write text, with 256 minus the number of allocated colors and you are rolling.

« previous php.notes (#56239) next »