jp2: 'cannot decode code stream'
Posted: 2013-05-23T11:57:08-07:00
Hi there,
I found a couple of jp2 images that cannot be opened in ImageMagick Display and cannot be converted with convert:
Both samples are on archive.org, see
https://ia601707.us.archive.org/2/items ... 68_jp2.zip
Other pages in this archive are opened and converted with no problems.
Thanks for your work!
I found a couple of jp2 images that cannot be opened in ImageMagick Display and cannot be converted with convert:
Code: Select all
C:\Temp>convert -version
Version: ImageMagick 6.8.5-7 2013-05-19 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib fontconfig freetype jng jp2 jpeg lcms lzma png ps tiff x xml zlib
C:\Temp>convert 01003557568_0060.jp2 01003557568_0060.png
error: cannot decode code stream
convert.exe: unable to decode image file `01003557568_0060.jp2' @ error/jp2.c/ReadJP2Image/404.
convert.exe: no images defined `01003557568_0060.png' @ error/convert.c/ConvertImageCommand/3106.
C:\Temp>convert 01003557568_0149.jp2 01003557568_0149.png
error: cannot decode code stream
convert.exe: unable to decode image file `01003557568_0149.jp2' @ error/jp2.c/ReadJP2Image/404.
convert.exe: no images defined `01003557568_0149.png' @ error/convert.c/ConvertImageCommand/3106.
https://ia601707.us.archive.org/2/items ... 68_jp2.zip
Other pages in this archive are opened and converted with no problems.
Thanks for your work!