RSS/Atom feed Twitter
Site is read-only, email is disabled

New image format

This discussion is connected to the gegl-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

New image format Brian Olsen 08 Oct 23:55
New image format Øyvind Kolås 09 Oct 16:27
Brian Olsen
2007-10-08 23:55:49 UTC (about 17 years ago)

New image format

I wanted to ask for some suggestion/review of a new image format I'm working on.

So to answer the question: Why?

The Problem: Working with a multi band scanning sensor that generates 4MP/s 16bit images (8MB/s). Sensor has 12 bands. Raw uncompressed files may run into 100's of gigs. Additionally the pixels are NOT co registered.

Tiff container is out, 32bit limits are bad. BigTiff seems hackish. Jpeg2k is too slow, indexing of tiles is horrendous.

pgf looks interesting, but it's got some hard coded type issues. It's also more complex than the format I'm looking at.

So I'm almost 1/2 done with coding up a new format. This is also wavelet based, using a pretty new very fast algorithm. Hopefully there's not a move to patent it.

For my own initial uses I'm going for keeping the container and encoding pretty separate. For now I just need single band lumanance with bilevel alpha and floating point encoding.

Because the bulk of the data is bit encoded format will be MSB order with variable length addressing (address bytes as part of the header) and with unsigned values also being variable length. The format should be pretty easily mmappable and for large tiles should easily support 3 threads per tile.

I'm just curious to perhaps have some folks here do a "gut check" on what I'm working on.

Future implementations:

Each tile will always be single band, the container will be responsible for keeping track of which tile has Red, Green or Blue.

Probably will hold to a single alpha channel per container. Container will have "pluggables" to do multi band processing (YCbCr/YCgCo, etc).

Probably will not allow for indexed color.

Thx, Brian

Øyvind Kolås
2007-10-09 16:27:34 UTC (about 17 years ago)

New image format

On 10/8/07, Brian Olsen wrote:

I wanted to ask for some suggestion/review of a new image format I'm working on.

I'd recommend looking at OpenEXR, and see whether that could fit your needs, http://www.openexr.com/

/Øyvind K.