Imagemagick中解决convert: no decode delegate for this image format 问题
来源:互联网 发布:js html2img 编辑:程序博客网 时间:2024/06/05 19:22
转自本人博客http://www.xgezhang.com/imagemagick_convert_problem.html
之前在使用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图片了。
欢迎转载,请注明出处,
- 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"的问题
- Codevs 1076 题解
- 程序员编程技术迅速提高的终极攻略
- OpenCV入门(十五)-- 霍夫变换
- XML Schema学习札记(2)——简单类型介绍
- cocos2dx实例开发之flappybird(入门版)
- Imagemagick中解决convert: no decode delegate for this image format 问题
- Android SDK无法更新
- 1034
- fruitstrap安装app
- 去除Odoo主页中的提示: Your Odoo is not supported.
- java自制线程池
- 成功的背后!(给所有IT人)
- Velocity.js错误:Velocity is not defined
- VS2005 创建的ATL工程无法注册组件