I posted this on another forum and, because no one understands this error, they suggested I post it here
=========================================================================================
Just doing: "convert test_image1.jp2 test_image1.png"
I'm trying to convert a 1920x540 j2k or jp2 formatted file to ANYTHING else and I keep getting these errors. The j2k version of the file gives the "irregular channel geometry" error and the jp2 file (same file with a header) gives the "missing image channel" error. I can't find a clue as to what this means. I'm able to open both of these files with multiple viewers (kakadu, jiv, irfanview) without a problem so they're not invalid images.
These are 1920x540 HD images encoded by a pair of ADV212 jpeg encoders (Y and CrCb) that were merged for color. Jiv and kakadu have no problem displaying these images.
The REAL problem I'm trying to solve is joining two of these images together to create a single 1920x1080 image that can then be combined with others to create an MJ2 video. If I can get the ImageMagick libs to work with this type of image I can do just about anything with it. Unfortunately I can't seem to get past this issue.
The libraries are present and support jp2. Convert says it supports jpc and j2c. Doesn't list j2k but it is the same thing as jpc and j2c and should be supported. I've attached the j2k and jp2 versions of the same files.
Any help would be greatly appreciated. I can't do much with these files in IM if it can't even open them.
Thanks!
The links are:
http://dl.dropbox.com/u/78565986/test_00000.j2k
http://dl.dropbox.com/u/78565986/test_00001.j2k
http://dl.dropbox.com/u/78565986/test0.jp2
http://dl.dropbox.com/u/78565986/test1.jp2
Irregular channel geometry or missing image channel error
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Irregular channel geometry or missing image channel erro
The issue seems to be that IM does not recognize j2k format (apparently supported by Jasper?) and when the headers are added to the file to convert it to jp2 (using Jasper), then IM gives an error message when trying to convert or display the file. see viewtopic.php?f=6&t=20967