Made of Everything You're Not

Because there's too much info for my brain.
  • Home
  • Projects
  • Portfolio
  • Resume
« Install Imagemagick from source on CENTOS 1386 4.5
phpdocumentor cheat sheet »

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:

  1. Go to: http://www.imagemagick.org/download/delegates/ and download the required/missing delegate library.
  2. Execute “gunzip libjpeg-6b.tar.gz”
  3. Execute “tar -xvf libjpeg-6b.tar”
  4. Change directories to the newly created “libjpeg-x”
  5. Execute “./configure”
  6. Execute “make”
  7. Execute “make test”
  8. Execute “make -n install” first to see if the makefile will put the files where you want them.
  9. 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.

Bookmark and Share

Related Posts

Install Imagemagick from source on CENTOS 1386 4.5

Tags: ImageMagick

This entry was written by Eric Lamb and posted on Monday, November 10th, 2008 at 10:23 am and is filed under Servers. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Comments

  1. pg8873 says:
    May 12, 2009 at 2:53 pm

    libjpeg-6b.tar.gz installation went well, and I did reinstall IM.
    But I’m still getting the same err msg

    identify PG_script/533589.tif
    identify: no decode delegate for this image format `PG_script/533589.tif’ @ constitute.c/ReadImage/526.

    any clues ?

    Reply
  2. Eric Lamb says:
    May 12, 2009 at 9:16 pm

    It looks like you’re trying to recognize a tif image but you installed the jpeg library. Can you confirm you’ve installed the tif library?

    Reply

Leave a Reply

Click here to cancel reply.

  • Subscribe: Entries | Comments
  • About Me

    Email Email
    Twitter Twitter
    310.739.3322
  • Categories

    • Brain Dump
    • Business
    • Code
    • IT
    • Programming
    • Rant
    • Servers
  • Archives

    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008

Copyright © 2008 - 2010 Eric Lamb - All rights reserved