What's the state of SDL development?

Hello all. This is my first post to the mailing list, and i’ve never
really been in the SDL loop before.

I have some questions regarding the development of SDL.
First, is there an SDL 1.3 being developed. I remember a while back I
heard a group of people were also working on an SDL 2.0. Are both
being worked on at the same time? Or will SDL 1.3 + development
eventually lead up to 2.0.

Secondly, a question regarding SDL_image. I think SDL_image is a great
idea, but what would make it even better is if it could not only load
images, but save them as well. Is there any SDL add on that can save
images in various formats? Would SDL_image accept code that allows
users to save images? The reason for saving images is for screenshots
that i want to put on the web : )

Anyways, I think SDL is great and all, just curious how its
development is heading.

Clay Smith <clayasaurus gmail.com> writes:

Is there any SDL add on that can save
images in various formats?

At least you have in original SDL (not SDL_image) SDL_SaveBMP to save an
SDL_Surface as a Windows BMP file.

Which brings me back to the “Reading RLE compressed BMP” thread…

Pierre.

Yes. Now if only it came with SDL_SavePNG I would be very happy.
However, that’s never gonna happen in SDL itself. Could it happen with
SDL_image?On Tue, 29 Jun 2004 16:05:12 +0000 (UTC), Pierre G. Richard wrote:

Clay Smith <clayasaurus gmail.com> writes:

Is there any SDL add on that can save
images in various formats?

At least you have in original SDL (not SDL_image) SDL_SaveBMP to save an
SDL_Surface as a Windows BMP file.

Which brings me back to the “Reading RLE compressed BMP” thread…

Pierre.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Having it in SDL would simply make SDL depend on libPNG, which I don’t believe
it does currently.

Having it in SDL_image would make more sense, since SDL_image already uses
libPNG, but 99% (making that up) of people don’t need /save/ code, so it’s
just unnecessary bloat. ;^)

It’s been brought up so many times, I’m surprised noone has created
SDL_imagesave or something like that. (Or, someone did and I forgot ;^) )

In Tux Paint, I switched from SDL_SaveBMP to my own PNG saving routine.
It wasn’t too difficult, but I could see the benefit of making it an
easy-to-use library.

An issue (which has been brought up here; search the archives) is what do
you do for the API when you want to save certain kinds of files using their
unique settings (like JPEG quality, comments, etc)?

-bill!On Tue, Jun 29, 2004 at 04:06:13PM -0400, Clay Smith wrote:

Yes. Now if only it came with SDL_SavePNG I would be very happy.
However, that’s never gonna happen in SDL itself. Could it happen with
SDL_image?

Bill Kendrick wrote:

Having it in SDL_image would make more sense, since SDL_image already uses
libPNG, but 99% (making that up) of people don’t need /save/ code, so it’s
just unnecessary bloat. ;^)

I agree. I’ve even written the patch (for SDL_Image), but I was never
able to get word on whether it should be in SDL_Image or not, so it
never went anywhere.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le mercredi 30 Juin 2004 05:08, Philip D. Bober a ?crit :

Bill Kendrick wrote:

Having it in SDL_image would make more sense, since SDL_image already
uses libPNG, but 99% (making that up) of people don’t need /save/ code,
so it’s just unnecessary bloat. ;^)

I agree. I’ve even written the patch (for SDL_Image), but I was never
able to get word on whether it should be in SDL_Image or not, so it
never went anywhere.

Why not use the idea which was proposed in another mail in this list ?

  • -> Create some kind of “SDL_saveimage” library which would be integrated (API
    point of view) with “SDL_image” so that when linking the final executable,
    the choice is simply wheither or not to add “-lSDL_saveimage”.

For my own, it seems like a wise and clean compromise for everybody : those
who want save image support and those who don’t.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Michel Nolard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA4of/yAKwOMHoSb0RArVTAJ9LAKzsJvN+CKXjmALDOxh4lkQatwCfeN97
F7k7p/pr+FBeUPBx5+TiF/c=
=lDQ2
-----END PGP SIGNATURE-----

[…]

Having it in SDL_image would make more sense, since SDL_image
already uses libPNG, but 99% (making that up) of people don’t need
/save/ code, so it’s just unnecessary bloat. ;^)

On the contrary, I think most people have or at least want a
screenshot feature - but saving screenshots in uncompressed BMP
format is, IMHO, a pretty bad idea, for technical as well as
political reasons. (Well, it’s pretty fast, but if speed is an issue,
I’d rather just use PNGs with minimal compression.)

[…]

An issue (which has been brought up here; search the archives) is
what do you do for the API when you want to save certain kinds of
files using their unique settings (like JPEG quality, comments,
etc)?

I suppose we could just leave comments and other metadata out. (Or we
get trapped in the “if we have this, we should have that” loop. :slight_smile:

Compression ratio (which is pretty much critical to make some formats
useful at all) could probably be implemented as an integer argument
in the 0…100 % range or something.

//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.nethttp://www.reologica.se —On Tuesday 29 June 2004 22.45, Bill Kendrick wrote:

Hi there, I’m also a SDL newbie and I too would like to know the
answer to this question, which wasn’t answered (relating to SDL
development). :stuck_out_tongue:

KudosOn Tue, 29 Jun 2004 10:48:32 -0400, Clay Smith wrote:

Hello all. This is my first post to the mailing list, and i’ve never
really been in the SDL loop before.

I have some questions regarding the development of SDL.
First, is there an SDL 1.3 being developed. I remember a while back I
heard a group of people were also working on an SDL 2.0. Are both
being worked on at the same time? Or will SDL 1.3 + development
eventually lead up to 2.0.

SDL 1.3 + development will eventually lead up to 2.0

Thanks!
-Sam Lantinga, Software Engineer, Blizzard Entertainment> On Tue, 29 Jun 2004 10:48:32 -0400, Clay Smith wrote:

Hello all. This is my first post to the mailing list, and i’ve never
really been in the SDL loop before.

I have some questions regarding the development of SDL.
First, is there an SDL 1.3 being developed. I remember a while back I
heard a group of people were also working on an SDL 2.0. Are both
being worked on at the same time? Or will SDL 1.3 + development
eventually lead up to 2.0.

Hi there, I’m also a SDL newbie and I too would like to know the
answer to this question, which wasn’t answered (relating to SDL
development). :stuck_out_tongue:

Hello all. This is my first post to the mailing list, and i’ve never
really been in the SDL loop before.

I have some questions regarding the development of SDL.
First, is there an SDL 1.3 being developed. I remember a while back I
heard a group of people were also working on an SDL 2.0. Are both
being worked on at the same time? Or will SDL 1.3 + development
eventually lead up to 2.0.

Hi there, I’m also a SDL newbie and I too would like to know the
answer to this question, which wasn’t answered (relating to SDL
development). :stuck_out_tongue:

SDL 1.3 + development will eventually lead up to 2.0

Thanks!
-Sam Lantinga, Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

----- Original Message -----
From: slouken@devolution.com (Sam Lantinga)
To: "A list for developers using the SDL library. (includes SDL-announce)"
Sent: Sunday, July 25, 2004 7:35 PM
Subject: Re: [SDL] what’s the state of SDL development?

On Tue, 29 Jun 2004 10:48:32 -0400, Clay Smith wrote: