gdImageCreateFromGif and gdImageColorExact

From: Date: Fri, 02 May 2008 11:13:46 +0000
Subject: gdImageCreateFromGif and gdImageColorExact
Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-421@lists.php.net to get a copy of this message
If I call gdImageCreateFromGif to open a GIF89a file (as written earlier with GD), should I be able to call gdImageColorExact to get access to a color in the color map? Seems that if I do so, gdImageColorExact returns -1, even though the requested RGB exist in the file's color map. If I use gdImageColorAllocate the color is defined again in the color map, resulting in an additional entry for that color. I need to avoid this. Am I missing something? -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Kapellgränd 7 P.O. Box 4205 SE-102 65 Stockholm, Sweden Office: Int +46 8-615 60 20 Mobile: Int +46 70-815 1696

« previous php.gd.devel (#421) next »