Install psd/psb support on a Mac

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
unDavide
Posts: 2
Joined: 2018-05-04T03:39:17-07:00
Authentication code: 1152

Install psd/psb support on a Mac

Post by unDavide »

Hi,
I'm trying to use this script to automate the verification of corrupted images via ImageMagick, but apparently my installation (7.0.7-30 Q16 x86_64 2018-05-02, via homebrew on High Sierra) doesn't come with default support for psd/psb file formats, which are what I need to check.

Reading several threads here in the forums, I've understood that these formats should be supported, but they're not installed by default, I need the proper Delegates. Running:

Code: Select all

convert -list configure | grep -i "delegates"
I get:

Code: Select all

DELEGATES  bslib mpeg freetype jng jpeg lzma png tiff xml zlib
I've tried to look everywhere for instruction on how to install the psd/psb libs on a Mac, to no avail. Can anyone gently help me?
Thank you very much,

Davide
unDavide
Posts: 2
Joined: 2018-05-04T03:39:17-07:00
Authentication code: 1152

Re: Install psd/psb support on a Mac

Post by unDavide »

UPDATE

Looking at the ImageMagick sourcecode, I've discovered that the following command lists all the available homebrew options:

Code: Select all

brew options imagemagick

brew options imagemagick
--with-fftw
	Compile with FFTW support
--with-fontconfig
	Build with fontconfig support
--with-ghostscript
	Build with ghostscript support
--with-hdri
	Compile with HDRI support
--with-libde265
	Compile with HEIF support
--with-liblqr
	Build with liblqr support
--with-librsvg
	Build with librsvg support
--with-libwmf
	Build with libwmf support
--with-little-cms
	Build with little-cms support
--with-little-cms2
	Build with little-cms2 support
--with-opencl
	Compile with OpenCL support
--with-openexr
	Build with openexr support
--with-openjpeg
	Build with openjpeg support
--with-openmp
	Compile with OpenMP support
--with-pango
	Build with pango support
--with-perl
	Compile with PerlMagick
--with-webp
	Build with webp support
--with-x11
	Build with x11 support
--with-zero-configuration
	Disables depending on XML configuration files
--without-freetype
	Build without freetype support
--without-jpeg
	Build without jpeg support
--without-libpng
	Build without libpng support
--without-libtiff
	Build without libtiff support
--without-magick-plus-plus
	disable build/install of Magick++
--without-modules
	Disable support for dynamically loadable modules
--without-threads
	Disable threads support
--HEAD
	Install HEAD version
Which made me trying this one (with all the "--with" available flags except one)

Code: Select all

brew reinstall imagemagick  --with-fftw --with-fontconfig --with-ghostscript --with-hdri --with-libde265 --with-liblqr --with-librsvg --with-libwmf --with-little-cms --with-little-cms2 --with-opencl --with-openexr --with-openjpeg --with-openmp --with-pango --with-perl --with-webp --with-x11
As a result:

Code: Select all

convert -list configure | grep -i "delegates"
DELEGATES      bzlib mpeg fftw fontconfig freetype jng jpeg lcms lqr lzma openexr openjp2 pango png ps rsvg tiff webp wmf x xml zlib
Still no psd/psb )-:

Davide
Post Reply