no decode delegate for this image format

I spent two days working on this, and finally got it working! For others that are having trouble getting the jpeg library installed on IM, here's what I did:

1. download and install jpegsrc.v6b.tar.gz. put it into some directory, cd into that directory, do the tar thing:

Code: Select all
tar xvfz jp*


2. I got valuable info from this page: http://www.noah.org/wiki/Jpegsrc_64
you have to tell jpeg-6b where you want to put the libraries and also copy some files because I'm using an x86_64 machine. Here are the commands I used:
(I'm installing into a directory called /root/jpeg-6b)

Code: Select all
cp /usr/lib/rpm/config.guess /root/jp*/
cp /usr/lib/rpm/config.sub /root/jp*/
./configure --enable-shared
make libdir=/usr/lib64
make libdir=/usr/lib64 install


so that takes care of the jpeg libraries. Actually, I had them installed already, so none of this was necessary.
3. What is necessary is that I had to tell IM where the libraries are located: /usr/lib64. So here's how I configured and compiled IM:

Code: Select all
./configure --enable-shared=yes --x-libraries=/usr/lib64 --without-perl


I don't know whether the --without-perl option is necessary, but I saw it on a site someplace so I thought I might use it.

Code: Select all
make
make install


Then cd into the utilities folder to get access to the convert command, and test it. It worked for me.

Good luck everyone,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值