tracerstar

This site is no longer maintained and will eventually have the articles rehosted. In the meantime, please visit my current portfolio, Benjamin Fox Studios.

Extract a color table from a gif with PHP

In early 2006 I wrote a bit of PHP code that extracted a color table from a gif. I've rewritten it here in a neat little class with example usage. At present it just converts it to HTML hex colors, but I'm going to add RGB extraction. Using the output in a flash file just requires changing the # to 0x. Try the demo to see it working.

Read more