[straying ot?] Multiple Images in one file

JPEG sux. It’s lossy. Just do this:

[snip.]

OK, so it was just an example, but jpeg does have its merits. Particularly
for big sprites/backgrounds. And especially if you want people to pull your
distribution down over a modem connection.

For one of the projects I’ve been on recently, I found that I could use jpeg
to reduce the size of the spritefiles used for the background to about 5-10%
of original size without noticable visual degradation. Depends on the type
of image, of course. But it’s a very attractive idea when you’re dealing
with large (well over 100Mb in this case) of bitmap graphics.

Ben.–
Ben Campbell (Antipodean Straggler)
Programmer, CyberLife Technology Ltd
ben.campbell at cyberlife.co.uk

ben.campbell at cyberlife.co.uk wrote:

JPEG sux. It’s lossy. Just do this:

[snip.]

OK, so it was just an example, but jpeg does have its merits. Particularly
for big sprites/backgrounds. And especially if you want people to pull your
distribution down over a modem connection.

For one of the projects I’ve been on recently, I found that I could use jpeg
to reduce the size of the spritefiles used for the background to about 5-10%
of original size without noticable visual degradation. Depends on the type
of image, of course. But it’s a very attractive idea when you’re dealing
with large (well over 100Mb in this case) of bitmap graphics.

Maybe for big backgrounds, but it makes 16x16 sprites look bad.

Paul Lowe
spazz at ulink.net

Hello,

I’m trying to setup a little networked graphical environment with a
reasonably high degree of interaction. For this purpose I’m interested in
recording audio (e.g. from the microphone) too instead of only playing
samples. From what I can tell from the sources and docs, this is not
currently possible.

My question is: are there any thoughts or plans on adding audio recording
capabilities to SDL?

Regards,

Serhat Sakarya

Hello,

I’m trying to setup a little networked graphical environment with a
reasonably high degree of interaction. For this purpose I’m interested in
recording audio (e.g. from the microphone) too instead of only playing
samples. From what I can tell from the sources and docs, this is not
currently possible.

My question is: are there any thoughts or plans on adding audio recording
capabilities to SDL?

A few people have asked for it, but I don’t have the time to work on it.
You are free to implement it and submit a patch. :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Serhat Sakarya wrote:

Hello,

I’m trying to setup a little networked graphical environment with a
reasonably high degree of interaction. For this purpose I’m interested in
recording audio (e.g. from the microphone) too instead of only playing
samples. From what I can tell from the sources and docs, this is not
currently possible.

My question is: are there any thoughts or plans on adding audio recording
capabilities to SDL?

I?m also interested in this - so let?s start implementing this !

I?m working on a real-time-filter application (for my guitar…) and i
hat to learn how ill oss is …

i was thinking about writing a little lib which does all these ioctl
calls for me…

if we?re planning to implement wav recording and playing there are some
fundamental
thinks to plan :

how should the data be read or written ? stream or blocks ?
do we want to support different audio formats ? (e.g. pcm, ulaw, mpeg?)

perhaps someone has a soundcard which can play mp3s (or even record)
(also some could implement mpeg video support ...)

i?m really new to sdl (i?ve only some parts of the docs and nothing more
…),
so a little bit advice would be nice, but in general i?ve got much
interest in
working on such a project .

bye,
enrico-------------------------------------------
lets go to another world … oberon