- You have Ghostscript installed, right? Otherwise
sudo apt-get install ghostscript - This is important and installs the headers (
iapi.hetc) which are required but don't come with the default Ghostscript package:sudo apt-get install libgs-dev - I also needed
sudo apt-get install gs-esp - For me the pre compiled version of ImageMagick never accepted Ghostscript, so let's remove it:
sudo apt-get --purge remove imagemagick - Get the source of ImageMagick, untar it,
cd ImageMagick-xx ./configure --with-gslib=yes[and what else you need]- Confirm in the output near the bottom
gslib yes yesand notgslib yes no makemake install- Run
convert -list configure | grep DELEGATES=>DELEGATES bzlib djvu freetype gs jpeg jng jp2 lcms png tiff x11 xml zlib