I Googled and Super Searched for this, and while I found lots of information on generating GIFs, and even on GIF format, I couldn't find anything for retrieving pixel values. Ideally, what I want is something that will load a GIF and return dimensions, a list of colors (in my case, two colors), and the pixel values for the image. Short of that, an explanation of how to decode GIF pixel values would be helpful, since they seem to be compressed and I can't figure out how to decode the compression. Retrieving color info and dimensions was a lot easier.