我有一个ImageMagick的问题,而不是转换全新安装的Mac OSX Lion上的JPEG。我得到了下面的错误:ImageMagick不转换JPEG
convert: unable to open module file `/Users/natewade/.magick/jpeg.la': No such file or directory @ warning/module.c/GetMagickModulePath/813.
convert: no decode delegate for this image format `test1.jpg' @ error/constitute.c/ReadImage/544.
convert: no images defined `test1.jpg' @ error/convert.c/ConvertImageCommand/3044.
但是,使用GIF和其他格式的转换工作正常。谷歌搜索后,我发现很多人在网上遇到同样的问题,早在2006年,但他们都没有发布过解决方案。
当你配置图片魔术,你可能会注意到这一点:
checking for JPEG...
checking jconfig.h usability... no
checking jconfig.h presence... no
checking for jconfig.h... no
checking jerror.h usability... no
checking jerror.h presence... no
checking for jerror.h... no
checking jmorecfg.h usability... no
checking jmorecfg.h presence... no
checking for jmorecfg.h... no
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking for jpeg_read_header in -ljpeg... no
checking for JPEG library is version 6b or later... no
checking if JPEG package is complete... no
的解决方案应该是答案,而不是在问题。 (我为你编辑过这两个文件。)另外,这对于superuser.com更合适,因为它不是一个编程问题。 – 2012-07-17 04:00:00
嗨基思,我把它放在这里,因为在搜索修复程序时,大多数搜索结果中都出现了stackoverflow,并且从未发布过解决方案。 – 2012-07-17 14:06:13