Convert svg to png by object ID

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
nikknakk
Posts: 1
Joined: 2019-06-13T15:50:49-07:00
Authentication code: 1152

Convert svg to png by object ID

Post by nikknakk » 2019-06-13T15:55:13-07:00

I'm looking to add imagemagick as an option for something I am working on, but I need to be able to select objects from my svg by object ID. I am having a hard time finding out if this is possible through imagemagick and if so how. Thanks much!

snibgo
Posts: 12000
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Convert svg to png by object ID

Post by snibgo » 2019-06-13T16:32:30-07:00

Inkscape can do that (see https://inkscape.org/en/doc/inkscape-man.html#OPTIONS "--export-id"). IM doesn't provide an interface for that.
snibgo's IM pages: im.snibgo.com

Post Reply