ImageMagick

ImageMagick is Article description::a collection of tools and libraries for many image formats (over 200). Supported formats include PNG, JPEG, GIF, WebP, HEIC, SVG, PDF, DPX, EXR and TIFF.

Files

 * - Global (system wide) configuration files for Imagemagick are found in this directory.

convert will not run due to security policy
The command does not run in the out-of-the-box configuration on certain file formats including PS, PS2, PS3, EPS, PDF, and XPS files.

This is by design due to a security vulnerability in Ghostscript, which is a library utilized by ImageMagick to manipulate (merge, modify, etc.) PDF files.

The solution is to comment out the lines affecting security policy for the file format in question. This action is performed in the following file by using HTML/XML style comments, or simply by removing the offending line(s) altogether.

Now running the convert command should work as expected:

Be sure to comment out other types of files if not working with PDFs.