Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install ImageMagick with Ghostscript support #1383

Closed
3 tasks done
revolter opened this issue Nov 10, 2018 · 5 comments
Closed
3 tasks done

Cannot install ImageMagick with Ghostscript support #1383

revolter opened this issue Nov 10, 2018 · 5 comments

Comments

@revolter
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am using the latest version of ImageMagick
  • I have searched open and closed issues to ensure it has not already been reported

Description

Steps to Reproduce

brew install --with-ghostscript imagemagick
magick --version

prints:

Version: ImageMagick 7.0.8-14 Q16 x86_64 2018-11-11 https://imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib freetype jng jp2 jpeg lcms ltdl lzma png tiff webp xml zlib

and convert test.ai test.png throws this error:

convert: no images defined `test.png' @ error/convert.c/ConvertImageCommand/3288.

System Configuration

  • ImageMagick version: 7.0.8-14 Q16 x86_64 2018-11-11
  • Environment (Operating system, version and so on): macOS 10.14 (18A391)
  • Additional information:
@fmw42
Copy link

fmw42 commented Nov 10, 2018

IM 7 uses magick and not convert. So try

magick test.ai test.png

Be sure that you have a current version of GS and that it is properly installed. It should show up in

magick --version

as gs or gslib. But I do not see it listed in your version output. So perhaps it did not get installed properly.

On my Mac Sierra, I get

magick -version
Version: ImageMagick 7.0.8-14 Q16 x86_64 2018-10-29 https://imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP 
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps raw rsvg tiff webp x xml zlib

which list gslib.

In a terminal you should be able to get the version from

gs --version

@revolter
Copy link
Author

Sorry, I forgot to mention that I did brew install ghostscript:

gs --version

then uninstalled imagemagick and installed it again by passing the --with-ghostscript argument.

@revolter
Copy link
Author

I uninstalled imagemagick again and ran brew install -v --with-ghostscript imagemagick:

imagemagick_install_output.txt

@urban-warrior
Copy link
Member

Your log shows a configure script command line of:

./configure --disable-osx-universal-binary --prefix=/usr/local/Cellar/imagemagick/7.0.8-14 --disable-dependency-tracking --disable-silent-rules --disable-opencl --disable-openmp --enable-shared --enable-static --with-freetype=yes --with-modules --with-openjp2 --with-webp=yes --without-fftw --without-pango --without-x --without-wmf

You need to add '-with-gslib' to build ImageMagick with the Ghostscript API. However, if the Ghostscript delegate library is not built, ImageMagick will revert to using the Ghostscript delegate library, 'gs.'

@engmg2011
Copy link

after installing ghostscript I ran brew install imagemagick and it worked with me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants