Re: auto-save and file formats

2000-10-10 Thread James Smaby

> Uncompressed SGI '.rgb' format is pretty close.

I suggest pnm format.  In ASCII it just uses numbers between 0 and 255 to represent
colors.  That's about as simple as it gets.



Re: auto-save and file formats

2000-10-10 Thread Robert Voigt

Stephen J Baker wrote:

> Rather than repeatedly saving to disk, you'd probably want a plugin
> that could copy the current image into shared memory - that would be
> a gazillion times faster I think.

Uff, that's beyond my horizon. Any chance anyone would work with me or
another Vorbis guy to do that? Not now, but in 1 or 2 weeks.

> Uncompressed SGI '.rgb' format is pretty close.

Could you point me to some documentation on that format?



Re: auto-save and file formats

2000-10-10 Thread Stephen J Baker

On Tue, 10 Oct 2000, Robert Voigt wrote:

> 1. When are you going to implement auto-save? I can already use GIMP
> with manual saving, but an auto-save function with a saving interval of
> down to 10 ms (if that's possible) would let me track my changes
> constantly.
 
This is similar to a question I had some time ago - I wanted to use
GIMP to paint texture maps as they are wrapped around a 3D model.

Rather than repeatedly saving to disk, you'd probably want a plugin
that could copy the current image into shared memory - that would be
a gazillion times faster I think.

> 2. Which of the file formats that GIMP can write would be best to just
> extract the color values of all pixels? It should be easy and fast. I've
> found xpm, that would work. But with xpm I still have to look up the
> color for each pixel in a table. Is there a format that simply stores
> the color values for each pixel directly?

Uncompressed SGI '.rgb' format is pretty close.


Steve Baker  (817)619-2657 (Vox/Vox-Mail)
L3Com/Link Simulation & Training (817)619-2466 (Fax)
Work: [EMAIL PROTECTED]   http://www.link.com
Home: [EMAIL PROTECTED]   http://web2.airmail.net/sjbaker1




auto-save and file formats

2000-10-10 Thread Robert Voigt

Hi people,

I'm developing Ogg Vorbis, the free audio compression codec. I'm writing
a tool to tune the psychoacoustic model. For that I'm changing the
values of some hundred numbers while listening to a piece of music. I
can already do that in a text editor, but that's tedious. So I
"invented" a new way of human computer interaction for this purpose. I'm
going to create an image file with as many pixels as I have numbers,
then paint the image and extract the values from that image file, and
listen to the music all the time. I think I'll do that with a grayscale
image, and I'd like to use GIMP for that.

Here are my two questions:

1. When are you going to implement auto-save? I can already use GIMP
with manual saving, but an auto-save function with a saving interval of
down to 10 ms (if that's possible) would let me track my changes
constantly.

2. Which of the file formats that GIMP can write would be best to just
extract the color values of all pixels? It should be easy and fast. I've
found xpm, that would work. But with xpm I still have to look up the
color for each pixel in a table. Is there a format that simply stores
the color values for each pixel directly?

Thanks for your help.

Robert