2008/7/28 Elliott Slaughter <[EMAIL PROTECTED]>: > Hi, I played with this briefly. I couldn't get you image to work with the color key either. I think it's because it's an 8 bit (palettised) image.
I converted it to a true color image and it worked fine. With imagemagick ... convert zelda.gif -type TrueColor zelda2.bmp I'm not that familiar with sdl-image at all. But the sdl docs mention something about the setcolorkey arg matching the image format. And there's a function in order to map an RGB color to a UINT RGB value for you. So you may need to load the image, call this function on your color key to get the actual color key you set... SDL_MapRGB justinhj _______________________________________________ application-builder mailing list application-builder@lispniks.com http://www.lispniks.com/mailman/listinfo/application-builder