View Full Version : GD Library and palette(s)

07-16-2007, 05:03 AM
Hello hello, I'm new here =) Hopefully I have put this in the correct spot...to me GD is basically PHP, I could be wrong however.

Okay, I have worked with GD library before many times and had satisfactory results, so it's not like I am totally new to it. But I am about to try something different and a little tougher, so I am wondering if it is at all possible to take an image (just as an example, a .gif image) and have the palette switched out via .pal file (note that I don't want to switch the palette with another image, as to avoid the "imagepalettecopy" command). I already have all of the palette files done that would change the image's palette (roughly 70, so you can see why I'd rather use pal files than creating each image of different colors separately).

I haven't messed with changing palettes all that much so any help or advice is greatly appreciated, and thank you in advance =) Hopefully I have explained enough for you to understand what I am looking for.