[Solved] Installation and error summary of ImageMagick windows 10

Generally the latest version is installed by default (currently 7.0.8), but through testing it is found that this version will report an error (ImportError: MagickWand shared library not found.) so it is recommended to install im6 version

Installation of im6

There is no need to pay attention to the first step, at this step you need to check the 5th box

After installation, you need to configure the system environment variables

Lastly you have to setMAGICK_HOMEenvironment variable to the path of ImageMagick (C:\ProgramFiles\ImageMagick-6.9.3-Q16).

Summary of errors that occur after installation and operation

error1: ImportError: MagickWand shared library not found.

the first is ImageMagick(32bit or 64bit) must be accord with the python(32bit or 64bit), even in the 64bit OS. If not, there will be a ImageMagick not installed mistake.
The second is that it need the Ghostscriptotherwise ImageMagick wouldn’t work properly.

error2: Imagemagick Convert PDF to JPEG: FailedToExecuteCommand `“gswin32c.exe”/PDFDelegateFailed

You need to installGhostscriptin order to rasterize vector files (PDF, EPS, PS, etc.) with ImageMagick. IM will shell out to Ghostscript when doing these manipulations (you can see it if you use the-verbosetag in your IM invocation). You could also use Ghostscript by itself to rasterize vector files.

Similar Posts: