JPEG/JPG support in OSX binary

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
lucazade
Posts: 1
Joined: 2017-04-27T07:51:59-07:00
Authentication code: 1151

JPEG/JPG support in OSX binary

Post 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.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: JPEG/JPG support in OSX binary

Post by dlemstra »

You will need to install the development libraries for libjpeg.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply