Convert SVG to EPS and keep vector data

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
LionArt
Posts: 1
Joined: 2013-06-27T08:33:46-07:00
Authentication code: 6789

Convert SVG to EPS and keep vector data

Post by LionArt »

Hi,
I converted an SVG file to an EPS file but all the vector data were flattened. Is there any option in convert command that transforms SVG vector data to EPS vector data ?

Thanks.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Convert SVG to EPS and keep vector data

Post by fmw42 »

My understanding is that Imagemagick is a raster processor. It will always convert vector data to raster (and then save in a vector shell). see http://www.imagemagick.org/Usage/formats/#vector

I think you may need to find some other non-imagemagick solution
Coscript Consulting
Posts: 6
Joined: 2013-06-21T06:43:23-07:00
Authentication code: 6789
Location: Philadelphia, PA

Re: Convert SVG to EPS and keep vector data

Post by Coscript Consulting »

You can use gsvg program bungled with ghostpdl package to convert SVG to PostScript or PDF.
The generated PostScript can be adapted to be used as EPS.
Post Reply