imagemagick cannot read these files
I have jasper installe开发者_JAVA技巧d and the lastest version of imagemagick. When I attempt to process these two files: here and here
I get a decode error. Can anyone let me know which other packages I need to install for imagemagick to read these files properly?
Has your IM been compiled with --with-jpeg=no
or --without-jpeg
?
Or did the compilation fail to include JPEG support because of a lack of decoder libraries being installed? You need libjpeg
installed, and the development header files for that library.
You can find out what formats are supported by issuing the command:
$ identify -list format
If you state your OS (inc. distribution if Linux) and how you installed IM, you might get more information on how to resolve it. If you are on linux the package names are probably libjpeg
and libjpeg-devel
.
精彩评论