SDL_image and SDL

I just started playing with SDL_image library. Some friends and I are
(after being inspired by such games as Diablo and Baldur’s Gate and
several beers) trying to get a working isometric engine. We have a lot of
success very early thanks to the ease of use of SDL. SDL_image is a nice
package too. It handles a lot of image formats. Why isn’t it in the main
source tree? I get tired of downloading BMP’s from a CVS file by file via
33.6 modem.

Also can I still get transparency in another indexed file type such as the
gif format. It’s indexed so my common sense makes me think it could work.

So far everything is working out pretty well.

Dave

Also can I still get transparency in another indexed file type such as the
gif format. It’s indexed so my common sense makes me think it could work.

The image file format should not matter as far as transparency is
concerned. In SDL you use SDL_SetColorKey() to set the transparency
color after loading the file into the internal SDL format.–
Brian

Also can I still get transparency in another indexed file type such as the
gif format. It’s indexed so my common sense makes me think it could work.

The image file format should not matter as far as transparency is
concerned. In SDL you use SDL_SetColorKey() to set the transparency
color after loading the file into the internal SDL format.
It has to be an indexed image format as far as I can tell. Therefore you
must have an 8-bit BMP or something with a palette to work with.

DaveOn Fri, 24 Mar 2000 hayward at slothmud.org wrote:


Brian