I tried to build ImageMagick with just USE=svg to convert vector graphics to a bitmap file, but it fails to recognize SVG files. It appears to require USE=xml as well in order to function. I think it should have REQUIRED_USE="svg? ( xml )" in the ebuild. Reproducible: Always Steps to Reproduce: 1. magick -background none test.svg -trim -color-matrix '0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0' test.bmp Actual Results: magick: no images found for operation `-trim' at CLI arg 4 @ error/operation.c/CLIOption/5295. Expected Results: No output, it successfully writes the bitmap file. The example command is where I encountered the problem, which converts SVG to image data for the systemd UEFI boot stub splash screen, but it seemed to fail in any use.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba7158425e65f974e5c8708d98743072871e769 commit 3ba7158425e65f974e5c8708d98743072871e769 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-06-02 09:37:01 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-06-02 09:38:25 +0000 media-gfx/imagemagick: Convert svg requires USE=xml Closes: https://bugs.gentoo.org/701890 Signed-off-by: Michał Górny <mgorny@gentoo.org> media-gfx/imagemagick/imagemagick-7.0.10.16-r1.ebuild | 1 + 1 file changed, 1 insertion(+)