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 vulnerabilities in Ghostscript, which is a library utilized by ImageMagick to manipulate (merge, modify, etc.) PDF files. Gentoo's security project has seen maintained the restrictions to the security policy to mitigate risk.

The solution is to comment out the lines affecting security policy for the file format(s) 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 from the configuration file altogether.

After commenting out or removing the relevant lines above, running the convert command will work as expected: