Imagemagick中解决convert: no decode delegate for this image format 问题
来源:互联网 发布:北京工业软件开发 编辑:程序博客网 时间:2024/05/16 14:01
之前在使用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图片了。
0 0
- Imagemagick中解决convert: no decode delegate for this image format 问题
- 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"
- GraphicsMagick / ImageMagick缺少lib报错no decode delegate for this image format
- 解决no cpu/abi system image available for this target的问题
- No system images installed for this target问题的解决
- No system images installed for this target问题的解决
- Android开发日志4——如何解决no CPU/ABI system image available for this target
- 如何解决打开Android模拟器时出现的no cpu/abi system image available for this target
- No CPU/ABI system image available for this barget
- qemu模拟执行固件文件(解决 Invalid ELF image for this architecture 问题)
- ImageMagick convert
- 解决创建Android模拟器时提示"No system images installed for this target"的问题
- EasyDSS流媒体服务器出现no compatible source was found for this media问题的解决
- Django 中The 'image' attribute has no file associated with it.出错问题的解决
- 【Android问题】解决创建Android模拟器时提示"No system images installed for this target"的问题
- 【Android问题】解决创建Android模拟器时提示"No system images installed for this target"的问题
- 静态链接与动态链接的区别
- GCC编译归纳总结
- 小米秋招第二题
- cocos2dx 3.10 实现天天跑酷金币吸入效果, 分享给大家
- 我的学习计划
- Imagemagick中解决convert: no decode delegate for this image format 问题
- 自定义Toast、View
- java.lang.Math类中的方法
- [9]DevOps 自动化运维工具Chef---如何解决在Window平台上执行一些knife子命令时所报的错误, knife search, knife status?
- 使用Apache commons轻松发送Email
- so文件格式详解
- 2016某知名互联网公司PHP面试题及答案
- 在Java中编写完美的equals方法
- 第5周 项目1-建立顺序栈算法库