Sdl and png

Hello !

I have question, i am looking for png support for layers in SDL. Is it possible to read multiply layers into seperate surfaces.
Another thing, is PSD is supported ? (i have’nt seen lib for psd under *nixes)… so maybe some day i will write one for reading :slight_smile:

Grzegorz Jaskiewicz.

Hello !

I have question, i am looking for png support for layers in SDL.

What do you mean by “for layers?”

Anyway, SDL_image library supports PNG, including alpha channel. :slight_smile:

Is it possible to read multiply layers into seperate surfaces.
Another thing, is PSD is supported ? (i have’nt seen lib for psd under *nixes)… so maybe some day i will write one for reading :slight_smile:

I don’t think there’s any stand-alone library for loading PSD (I could be
wrong).

I’m fairly certain The Gimp (www.gimp.org) can load PSD files, more-or-less.
It may be worth it to grab code from there (assuming your project or
library will be released under GPL, like Gimp)

-bill!On Fri, Apr 26, 2002 at 03:51:33PM +0200, Grzegorz Jaskiewicz wrote:

I have question, i am looking for png support for layers in SDL.

What do you mean by “for layers?”

I mean like in PSD, layers. I thought png can do that? is it ? Or maybe
there is another format where I can store few bitmaps, with position and
different size (like layers in psd) ???

I’m fairly certain The Gimp (www.gimp.org) can load PSD files,
more-or-less.
It may be worth it to grab code from there (assuming your project or
library will be released under GPL, like Gimp)

NO, it’s not :frowning:

Grzegorz Jaskiewicz

I have question, i am looking for png support for layers in SDL.

What do you mean by “for layers?”

I mean like in PSD, layers. I thought png can do that?

PNG does not support layers.

> > I'm fairly certain The Gimp (www.gimp.org) can load PSD files, > more-or-less. > > It may be worth it to grab code from there (assuming your project or > > library will be released under GPL, like Gimp) > > NO, it's not :-(

Hmm… Well, you may be stuck, and need to license something from
someone (Adobe themselves, perhaps?)

-bill!On Fri, Apr 26, 2002 at 09:32:04PM +0200, Grzegorz Jaskiewicz wrote:

The file format is available from www.wotsit.org . It’s not that hard, we did
it at a previous company I worked for.

AndyOn Friday 26 April 2002 14:37, nbs wrote:

Hmm… Well, you may be stuck, and need to license something from
someone (Adobe themselves, perhaps?)

Hmm… Well, you may be stuck, and need to license something from
someone (Adobe themselves, perhaps?)

The file format is available from www.wotsit.org . It’s not that hard, we
did
it at a previous company I worked for.

Fine. I guess i will make gnu psd liblary, but i don’t know if libpsd is
best name for that. Bescouse i have one in my redhat, and it isn’t psd
graphics format lib :slight_smile: (what a problem :slight_smile: ). then it will be gpsd :slight_smile: (gnu
or graphics psd). whatever. I need it, and it’s good for SDL :slight_smile:
What do you think about it ?

Grzegorz Jaskiewicz> On Friday 26 April 2002 14:37, nbs wrote:

| then it will be gpsd :slight_smile:

‘gpsd’ already exists. It’s a program for talking to GPS units:

http://russnelson.com/gpsd/On Sat, Apr 27, 2002 at 04:31:06PM +0200, Grzegorz Jaskiewicz wrote:


I will not do anything bad ever again

6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc
E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk wnzrf at cvxh.bet.hx (rot13’d)

| then it will be gpsd :slight_smile:

‘gpsd’ already exists. It’s a program for talking to GPS units:

http://russnelson.com/gpsd/

Man, thats just a name ! I mean, i will do that !. :-)))

Grzegorz Jaskiewicz.

Ps. Any other proposals for name, during my development ?