[SDL] Best library to use for saving screenshots of SDL programs...

Joseph Carter knghtbrd at bluecherry.net
Sun Feb 3 09:37:01 PST 2002


On Sun, Feb 03, 2002 at 03:32:48PM +0100, =?ISO-8859-1?Q?Mattias Engdeg=E5rd?= wrote:
> SDL can save images in BMP format. A TGA saver can be found at
> ftp://ptah.lnf.kth.se/pub/misc/savetga.c
> 
> Since conversion programs are common enough, it's rarely useful to
> spend effort on more than one format for screenshots

That's true, except for a single consideration - gamers prefer the game to
save screenshots in jpg format so they don't have to convert anything.
It's certainly convenient to do so, of course.  OTOH, many developers will
ask for non-lossy screenshots when it comes to bugs and the like.  Targa
is the obvious choice for OpenGL, and BMP is pretty obvious in win32, but
PNG is generally compressed much better than both, pretty much supported
everywhere nowadays, and helping it become more standard is a worthwhile
cause anyway.  =)  So that's two formats.  I will agree that it's not
worth supporting every format you can load though.

-- 
Joseph Carter <knghtbrd at bluecherry.net>          Have chainsaw will travel
 
<dark> "Hey, I'm from this project called Debian... have you heard of it? 
       Your name seems to be on a bunch of our stuff."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020203/a8fff661/attachment.pgp>


More information about the SDL mailing list