Page 1 of 1

JPEG/JPG support in OSX binary

Posted: 2017-04-28T01:53:39-07:00
by lucazade
I did a manual install of the binary on my laptop with El Capitan, since both Macports' and Homebrew failed (I inherited the laptop at work).

Code: Select all

$ magick --version
Version: ImageMagick 7.0.5-1 Q16 x86_64 2017-03-02 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI 
Delegates (built-in): bzlib freetype lcms png 
The local dev site I'm working on doesn't display JPEG images so I checked the formats supported with the identify -list format command and verified it's not there (dozens of other formats though).

I've seen somewhere the suggestion to check the configuration file, which I don't seem to have:

Code: Select all

$ convert -list configure

Path: [built-in]

Name           Value
-------------------------------------------------------------------------------
FEATURES       
NAME           ImageMagick
QuantumDepth   16
convert: unable to access configure file `configure.xml' @ warning/configure.c/GetConfigureOptions/715.
The debug switch throws up several lines, of which these are the first few:

Code: Select all

$ magick -debug all rose: r.png
2017-04-27T15:49:44+01:00 0:00.030 0.010u 7.0.5 Wand magick[70956]: wandcli.c/AcquireMagickCLI/131/Wand
  MagickWandCLI-1
2017-04-27T15:49:44+01:00 0:00.030 0.010u 7.0.5 Command magick[70956]: magick-cli.c/MagickImageCommand/704/Command
  Initializing "magick"
2017-04-27T15:49:44+01:00 0:00.030 0.010u 7.0.5 Command magick[70956]: magick-cli.c/ProcessCommandOptions/385/Command
  at CLI arg 1 - Starting ("-debug")
2017-04-27T15:49:44+01:00 0:00.030 0.010u 7.0.5 Command magick[70956]: operation.c/CLISettingOptionInfo/438/Command
  at CLI arg 1 - Setting Option: -debug "all" "(null)"
2017-04-27T15:49:44+01:00 0:00.030 0.010u 7.0.5 Wand magick[70956]: wandcli.c/CLICatchException/242/Wand
  magick-CLI
2017-04-27T15:49:44+01:00 0:00.030 0.010u 7.0.5 Command magick[70956]: operation.c/CLINoImageOperator/4654/Command
  at CLI arg 3 - NoImage Operator: -read "rose:" ""
2017-04-27T15:49:44+01:00 0:00.030 0.010u 7.0.5 Configure magick[70956]: utility.c/ExpandFilenames/943/Configure
  Command line: rose:
2017-04-27T15:49:44+01:00 0:00.060 0.010u 7.0.5 Configure magick[70956]: configure.c/GetConfigureOptions/688/Configure
  Searching for configure file: "/Applications/ImageMagick-7.0.5/etc/ImageMagick-7/delegates.xml"
2017-04-27T15:49:44+01:00 0:00.060 0.010u 7.0.5 Configure magick[70956]: configure.c/GetConfigureOptions/688/Configure
  Searching for configure file: "/Applications/ImageMagick-7.0.5/share/ImageMagick-7/delegates.xml"
[...]
Any suggestion greatly appreciated.

Re: JPEG/JPG support in OSX binary

Posted: 2017-04-28T05:01:26-07:00
by dlemstra
You will need to install the development libraries for libjpeg.