note 37672 added to function.imagetruecolortopalette

From: Date: Sat, 22 Nov 2003 15:25:38 +0000
Subject: note 37672 added to function.imagetruecolortopalette
Groups: php.notes 
Request: Send a blank email to php-notes+get-60819@lists.php.net to get a copy of this message
If you open a truecolor image (with imageCreateFromPng for example), and you save it directly to GIF format with imagegif, you can have a 500 internal server error. You must use imageTrueColorToPalette to reduce to 256 colors before saving the image in GIF format. ---- Manual Page -- http://www.php.net/manual/en/function.imagetruecolortopalette.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37672 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37672&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37672&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60819) next »