concatenate svg

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
masnuek

concatenate svg

Post by masnuek »

Hi, is it possible to concatenate 2 .svg's and generate a new one as output ?! something like this:

convert \( 1.svg 2.svg +append \) -render -append final.svg

it works when I create a png as output but not with svgs :(

tnx
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: concatenate svg

Post by anthony »

SVG's are vector images. IM can't generate them, at least not directly. If the 'autotrace' library is installed it will use that con to vert raster images to vector images, but that is not very 'nice' and a specialized usage.

See A Word about Vector Images
http://www.imagemagick.org/Usage/formats/#vector

In short... To properly concatenate SVG image to produce SVG images, you need a SVG image handler! Not ImageMagick
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply