How to add support for the JPEG image format

Posted by Samir Sabri on Ask Ubuntu See other posts from Ask Ubuntu or by Samir Sabri
Published on 2012-11-04T03:43:55Z Indexed on 2012/11/04 5:23 UTC
Read the original article Hit count: 320

Filed under:
|

After installing Imagemagick, I've tested it with jpg image, like this:

identify 1.jpg

But, I got this result:

identify: no decode delegate for this image format `1.jpg' @ error/constitute.c/ReadImage/550.

Then, I tried to add support for JPEG format by:

yum install libjpeg libjpeg-devel

but, I got:

Setting up Install Process
No package libjpeg available.
No package libjpeg-devel available.
Nothing to do

I thought I need to update the apt-get, I did:

apt-get install libjpeg libjpeg-devel

but, I got:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libjpeg
E: Unable to locate package libjpeg-devel

Is there an easy way to get those libraries installed ? I am using Ubuntu 12.04.

© Ask Ubuntu or respective owner

Related posts about imagemagick

Related posts about jpeg