Re: Pixbuf loader for jpeg2000?



On Fri, Jul 11, 2003 at 10:00:04PM -0400, Jody Goldberg wrote:

> If you do decide to implement a jpeg2000 loader you will want to
> have a look at libgsf.  My reading of section 3.2, and appedix a of
> the jpeg2000 spec indicates that it uses microsoft's OLE2 structured
> file format as a container format. The glib based libgsf is LGPLed
> and has read/write capabilities for OLE2.

The file format of JPEG2000 is specified in Appendix I of the spec. It
is a box-based structure, where each box has the following format:

 Name  | Size (bits) | Description
-------+-------------+----------------------------------------------------
 LBox  | 32          | Box Length (special values: 0 and 1)
 TBox  | 32          | Box type, e.g. 'jp2h'
 XLBox | 64/0        | Extended box length, exists only if LBox is 1
 DBox  | variable    | Box data

A box can consist of other boxes.

I don't know about the OLE format. Are these two formats identical and can
libgsf handle this?

 - Sebastian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]