[SDL] Re: Is saving images within the purpose of SDL_Image?

David Olofson david at olofson.net
Tue May 18 14:22:29 PDT 2004


On Tuesday 18 May 2004 20.30, Olivier Fabre wrote:
> > I think it would be nice to have saving in SDL_image, provided it
> > can be configured to compile with loading only. (For those who
> > link statically or include libs, and are worried about the binary
> > size.)
>
> Same opinion here. Please make two versions, one with and one
> without saving.

Two *binary* versions, that is...? That was what I was thinking 
anyway. (I think it would be a bad idea to fork the lib; there should 
only be one source tree, since this is just a configure option.)


> Actually, it would be great to have a SDL_Image that handles only
> PNG and JPEG, since that's all I need, but well... ;-)

./configure --disable-gif --disable-lbm --disable-pcx --disable-pnm 
--disable-tga --disable-xpm

make

(That includes BMP as well, but that just calls SDL anyway.)

Now, put the lib/so/DLL/whatever where you want it and link with it, 
or throw it into your binary distros.


//David Olofson - Programmer, Composer, Open Source Advocate

.- Audiality -----------------------------------------------.
|  Free/Open Source audio engine for games and multimedia.  |
| MIDI, modular synthesis, real time effects, scripting,... |
`-----------------------------------> http://audiality.org -'
   --- http://olofson.net --- http://www.reologica.se ---





More information about the SDL mailing list