Error when converting jpeg2000
Posted: 2009-12-10T16:16:26-07:00
Was looking for a command line utility to convert JPEG2000 images to jpg. I came across ImageMagick and gave it a try. Unfortunately it did not work. The error message I get when I attempt the conversion is
$ convert X.JP2 X.jpg
warning: component data type mismatch
convert.exe: irregular channel geometry not supported `X.JP2' @ jp2.c/ReadJP2Image/489.
convert.exe: missing an image filename `X.jpg' @ convert.c/ConvertImageCommand/2838.
The images were captured as JPEG2000 by a Matrox Morphis card. My assumption is that the format used is not compatible with what ImageMagick knows.
Can someone comfirm that this is the case and if possible is there something I can do to make them 'compatible'. If not does anyone know of some other utility that can do this.
thanks in advance
$ convert X.JP2 X.jpg
warning: component data type mismatch
convert.exe: irregular channel geometry not supported `X.JP2' @ jp2.c/ReadJP2Image/489.
convert.exe: missing an image filename `X.jpg' @ convert.c/ConvertImageCommand/2838.
The images were captured as JPEG2000 by a Matrox Morphis card. My assumption is that the format used is not compatible with what ImageMagick knows.
Can someone comfirm that this is the case and if possible is there something I can do to make them 'compatible'. If not does anyone know of some other utility that can do this.
thanks in advance