Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701890 - media-gfx/imagemagick-7.0.9.5 USE="svg -xml" - magick -background none test.svg -trim ...: no images found for operation `-trim' at CLI arg 4 @ error/operation.c/CLIOption/5295.
Summary: media-gfx/imagemagick-7.0.9.5 USE="svg -xml" - magick -background none test.s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-12-03 15:11 UTC by David Michael
Modified: 2020-06-02 09:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2019-12-03 15:11:44 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2020-06-02 09:38:32 UTC
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(+)