Imagemagick中解决convert: no decode delegate for this image format 问题
2016-09-27 20:25
435 查看
之前在使用Imagemagick的时候,会遇到一个不能转换jpg文件的问题,问题情况就是可以通过 convert命令将其他文件转化成jpg文件,但不能将jpg文件转化为其他格式的文件。比如convert 1.jpg 2.png时会报错:
convert: no decode delegate for this image format 1.jpg
找了很久都没有找到有用的资料,直到昨天,才突然找到一篇可用的资料,终于解决了这一问题。下面是操作步骤:
首先通过convert -list format指令,查看自己是否有jpeg这一格式,如果没有,那么进行下一步操作。
进入http://www.imagemagick.org/download/delegates/ 网站,找到最新的jpegsrc文件,我下载的是jpegsrc.v9a。
以Ubuntu为例,安装
./configure –prefix=/usr
make
make install
然后需要重装Imagemagick,而且不能简单的make install ,必须按如下指令进行。
./configure –enable-shared –enable-lzw –without-perl –with-modules
make
make install
经过漫长的等待之后,发现Imagemagick可以转化jpg图片了。
convert: no decode delegate for this image format 1.jpg
找了很久都没有找到有用的资料,直到昨天,才突然找到一篇可用的资料,终于解决了这一问题。下面是操作步骤:
首先通过convert -list format指令,查看自己是否有jpeg这一格式,如果没有,那么进行下一步操作。
进入http://www.imagemagick.org/download/delegates/ 网站,找到最新的jpegsrc文件,我下载的是jpegsrc.v9a。
以Ubuntu为例,安装
./configure –prefix=/usr
make
make install
然后需要重装Imagemagick,而且不能简单的make install ,必须按如下指令进行。
./configure –enable-shared –enable-lzw –without-perl –with-modules
make
make install
经过漫长的等待之后,发现Imagemagick可以转化jpg图片了。
相关文章推荐
- Imagemagick中解决convert: no decode delegate for this image format 问题
- Imagemagick中解决convert: no decode delegate for this image format 问题
- Fix for "convert: no decode delegate for this image format"
- 解决no cpu/abi system image available for this target的问题
- 安卓 No CPU/ABI system image available for this target 错误解决办法
- Maven错误:“No goals have been specified for this build...”问题解决
- qemu模拟执行固件文件(解决 Invalid ELF image for this architecture 问题)
- 《Springboot极简教程》问题解决:Springboot启动报错 Whitelabel Error Page: This application has no explicit mapping for
- Android开发日志4——如何解决no CPU/ABI system image available for this target
- 【Android问题】解决创建Android模拟器时提示"No system images installed for this target"的问题
- EasyDSS流媒体服务器出现no compatible source was found for this media问题的解决
- 【Android问题】解决创建Android模拟器时提示"No system images installed for this target"的问题
- No system images installed for this target问题的解决
- Magick++: NoDecodeDelegateForThisImageFormat with ICO file
- 【Android问题】解决创建Android模拟器时提示"No system images installed for this target"的问题
- 解决创建Android模拟器时提示"No system images installed for this target"的问题
- 《Springboot极简教程》问题解决:Springboot启动报错 Whitelabel Error Page: This application has no explicit mapping for(转)
- No system images installed for this target问题的解决
- EasyDSS流媒体服务器出现no compatible source was found for this media问题的解决