Fix for "convert: no decode delegate for this image format"
来源:互联网 发布:拼人脸五官的软件 编辑:程序博客网 时间:2024/06/05 05:46
转载自:http://blog.ericlamb.net/2008/11/fix-for-convert-no-decode-delegate-for-this-image-format/
While working with ImageMagick on one of my servers I was getting the following error:
convert: no decode delegate for this image format
This means that, more than likely, I was missing the decoding library.
Apparently you need to install it and then recompile ImageMagick to work with Jpg files.
I'm not sure why it wasn't installed by the OS though...
Anyway, to fix:
Go to: http://www.imagemagick.org/download/delegates/ and download the required/missing delegate library.
Execute "gunzip libjpeg-6b.tar.gz"
Execute "tar -xvf libjpeg-6b.tar"
Change directories to the newly created "libjpeg-x"
Execute "./configure"
Execute "make"
Execute "make test"
Execute "make -n install" first to see if the makefile will put the files where you want them.
If there are no errors and you're ok with the installation path go ahead and install with "make install"
NOTE:
On my system the manual directory wasnt' in the expected path so an error was thrown:
"/usr/bin/install: cannot create regular file `/usr/local/man/man1/cjpeg.1': No such file or directory".
To fix I just created the expected directory "/usr/local/man/man1/" and install went smooth.
After that it was a simple matter of reinstalling ImageMagick.
- Fix for "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 问题
- Imagemagick中解决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 barget
- A new image format for the Web
- Wrong Image Format for bootm command
- A new image format for the Web
- Android error:No CPU/ABI system image available for this target
- 安卓 No CPU/ABI system image available for this target 错误解决办法
- 解决no cpu/abi system image available for this target的问题
- 模拟器的创建 提示 No CPU/ABI system image available for this target
- Android error:No CPU/ABI system image available for this target
- Android error:No CPU/ABI system image available for this target
- no CPU/ABI system image for target
- How-to fix "Warning: No support for locale: en_US.utf8"
- Error: no such partition. Grub rescue> Fix for Windows 7
- C/C++ 程序设计员应聘常见面试试题
- 2013 ACM/ICPC Asia Regional Changchun Online (2013网络赛)
- 因此我们并不知道“小道消息”的微信账号到底有多少追随
- linux sar 命令详解
- 数字图像处理(一) matlab图像简单操作
- Fix for "convert: no decode delegate for this image format"
- A Funny Game
- Java工具类之StringBuffer
- CSU Monthly 2013 Oct.
- linuxr下sar调优工具的深入分析
- 【leetcode】Letter Combinations of a Phone Number
- HashMap与Hashtable的区别
- 游标使用,Oracle数据库按属性编辑成绩
- php 接收json 数据。post提示index 不存在的解决