Skip to content

Instantly share code, notes, and snippets.

@hernamesbarbara
Created March 5, 2019 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hernamesbarbara/5bb896b926ae8b22d84c9a538afde2d0 to your computer and use it in GitHub Desktop.
Save hernamesbarbara/5bb896b926ae8b22d84c9a538afde2d0 to your computer and use it in GitHub Desktop.

installed the package

brew install imagemagick

Test that it worked

# imagemagick ships w/ a few default images
# logo is the variable name of a built-in image
# this cmd saves a new file to your working directory called logo.gif
convert logo: logo.gif

# print some stats about the image
identify logo.gif

# display the image in an XQuartz X11 server
# THIS FAILS
display logo.gif
@hernamesbarbara
Copy link
Author

hernamesbarbara commented Mar 5, 2019

$   which convert
/usr/local/Cellar/imagemagick/7.0.8-29/bin/convert

$   convert -version
Version: ImageMagick 7.0.8-29 Q16 x86_64 2019-03-02 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib freetype heic jng jp2 jpeg lcms ltdl lzma openexr png tiff webp xml zlib

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