> Does imagemagick support j2K codestream (technically jasper does).
Even jasper chokes on your test image:
-> jasper --input D_CLUNIE_CT1_J2KI.j2k --output test.ras
The RAS format cannot be used to represent an image with this geometry.
error: cannot encode image
ImageMagick supports JP2 images but a limited subset. If any of the following
conditions are met, ImageMagick bails:
if ((((long) (jas_image_cmptwidth(jp2_image,components[i])*
jas_image_cmpthstep(jp2_image,components[i])) != (long) image->columns)) ||
(((long) (jas_image_cmptheight(jp2_image,components[i])*
jas_image_cmptvstep(jp2_image,components[i])) != (long) image->rows)) ||
(jas_image_cmpttlx(jp2_image,components[i]) != 0) ||
(jas_image_cmpttly(jp2_image,components[i]) != 0) ||
(jas_image_cmptsgnd(jp2_image,components[i]) != MagickFalse))
// bail
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users