I downloaded the latest OpenJPEG v2 revision 2223 and did not find 'meth' in the lines
given.
winfried
----- Original Nachricht ----
Von: Will K <
willk...@gmail.com>
An:
open...@googlegroups.com
Datum: 15.11.2012 16:25
Betreff: [OpenJPEG] Writing JP2 openjpegv2, Colour specification box, ICC
profile issue with greater than 3 bands
> I downloaded the latest OpenJpeg v2 source. I am writing JP2 images with
> greater than 3 bands. In jp2.c line 1427 the meth is set to 2 for bands
> greater than 3. This requires an ICC profiles to be written. The library
> just sets it to NULL in line 722. If I write JP2 this way, other JP2
> readers get upset. The ECW SDK reader errors and crashes and Photoshop
> display a ICC profile error but does recover and open the file. I took a
> quick look at the ICC profile specs and I didn't see anything about higher
> bands covered. My current solution is to just change jp2.c to set the meth
> to 1 and the color space to RGBs for bands greater than 3. When I write
> this way the ECW SDK opens it fine and so does Photoshop. Is there any
> problem with this solution?
>