Imagemagick 6.9.1-7 won't convert psd to any format (Yosemite) - imagemagick

When I run this:
/usr/local/bin/convert ~/desktop/myImage.psd ~/desktop/myImage.jpg
I get this error:
convert: no images defined `/Users/User/desktop/myImage.jpg' # error/convert.c/ConvertImageCommand/3230.
Here's my convert -version:
Version: ImageMagick 6.9.1-7 Q16 x86_64 2015-07-06 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib
I've tried at least 4 different psd files

I am one on the developers of ImageMagick and this version contains a bug in the PSD reader. We are aware of this bug and it will be fixed in 6.9.1-8.

Upgrade to 6.9.1-8 to address the issue.

Related

Why does ImageMagick fail with "no decode delegate for this image format `PNG'" even when the png delegate is installed?

I'm working on openSUSE Tumbleweed.
I have ImageMagick installed.
$ convert --version
Version: ImageMagick 7.1.0-52 Q16-HDRI x86_64 20549 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP(4.5)
Delegates (built-in): bzlib djvu fontconfig freetype gslib jng jpeg lcms ltdl lzma png ps raw tiff x xml zlib
Compiler: gcc (12.2)
Notice that the PNG delegate is installed, at least according to --version.
Despite this, converting fails.
$ convert covalent_platform.svg covalent_platform.png
convert: no decode delegate for this image format `PNG' # error/constitute.c/ReadImage/776.
convert: no images defined `covalent_platform.png' # error/convert.c/ConvertImageCommand/3342.
Even identifying a non-PNG file fails, with the same PNG delegate problem.
$ identify covalent_platform.svg
identify: no decode delegate for this image format `PNG' # error/constitute.c/ReadImage/776.
Any ideas for what might be wrong here?
I reinstalled libpng-devel and reinstalled IM, but the problem remains.
I figured out the problem, thanks to #fmw42 pointing out that if magick -list format has no output then the installation is bad.
I had installed IM from https://imagemagick.org/script/download.php
These downloads are not compatible with openSUSE.
After uninstalling and reinstalling IM from https://software.opensuse.org/package/ImageMagick, everything works as expected.

How to configure imagick to work with gpu support?

Im usinf the following configuration on amazon AWS p3.2xlarge with 3D controller: NVIDIA Corporation GV100GL [Tesla V100 SXM2] (rev a1)
Centos 7
PHP7.2
Im trying to force Imagick to work with gpu memory instead of CPU
I have found the following article but im not sure how to implement it
https://www.imagemagick.org/script/opencl.php
can anyone assist ?
convert -version output
Version: ImageMagick 7.0.8-14 Q16 x86_64 2018-10-25 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 ltdl lzma openexr pangocairo png ps raw rsvg tiff webp wmf x xml zlib

ImageMagick isn't displaying arabic characters correctly

So I am trying to display an Arabic word using ImageMagick.
This is my code:
convert -size 1144x800 -background transparent -font "arabic_reg.ttf" -encoding Unicode label:#arabic.utf8 "oops.png"
#arabic.utf8 is saved in utf-8 and arabic_reg.ttf is an arabic font.
This is the result
letters are detached and inverted
adding -direction right-to-left doesn't seem to help also.
I am running ImageMagick 6.9.6-2 on mac.
Version: ImageMagick 6.9.6-2 Q16 x86_64 2016-10-20
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
Features: Cipher DPC Modules
Delegates (built-in): bzlib djvu fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms ltdl lzma openexr png ps tiff webp x xml zlib
Any idea how to fix this?
Thanks
Ran into the same problem, you gotta use pango and install the fonts in your system :)

Check for ImageMagick current version based on that uninstall or Install

We are going for penetration testing and for that reason I need to upgrade ImageMagick on our server to 7.0.2-2 because previous version 6.7.x.x (which we currently run) has some high vulnerabilities and to get rid of them we plan to update this.
I want to mange it through ansible and to do a separate installation I have a script but this script doesn't check if there is any previously installed version. It would be great if some can help me in writing a script which first checks for any previous version if there is one uninstalls it and then do new installation of upgraded version.
Many thanks in advance!
You can obtain the version by parsing it out of the first line of output from
identify --version
e.g., on a nearly up-to-date host:
$ identify --version
Version: ImageMagick 7.0.1-1 Q16 x86_64 2016-06-24
http://www.imagemagick.org Copyright: Copyright (C) 1999-2016
ImageMagick Studio LLC License:
http://www.imagemagick.org/script/license.php Features: Cipher DPC
HDRI Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig
jng jpeg lcms lqr lzma openexr png tiff wmf x xml zlib
or on a not-so-up-to-date host:
$ identify --version
Version: ImageMagick 6.6.9-6 2011-04-28 Q16
http://www.imagemagick.org Copyright: Copyright (C) 1999-2011
ImageMagick Studio LLC Features:
Use "sed" or your favorite editor to extract the version string:
identify --version|sed "-e s/Version: ImageMagick //" -e "s/ .*//"|head -1

imagemagick and jp2 problems

I compiled and created and rpm for the latest ImageMagick with jp2 support
convert --version
Version: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-30 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib fftw fontconfig freetype jng jp2 jpeg ltdl lzma pangocairo png tiff wmf x xml zlib
So as you can see jp2 is in the delegates.
yet we keep getting this error :
convert: unable to load module `/usr/lib/ImageMagick-6.9.1//modules-Q16HDRI/coders/jp2.la': file not found # error/module.c/OpenModule/1282.
convert: no decode delegate for this image format `JP2' # error/constitute.c/ReadImage/501.
convert: no images defined `/tmp/131C6D7C-165E-11E4-A6EB-3950957D6753.jpg' # error/convert.c/ConvertImageCommand/3230.
the file is where it should be.
PS: this is on RHEL7

Resources