preserve vector data during convert

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
Jack

preserve vector data during convert

Post by Jack »

Hi again

I'm trying to do a vector to vector conversion like so:

Code: Select all

convert sample.ai sample.pdf
it seems that the resulting pdf is simply a bitmap instead of a vector. How can I create a pdf that preserves the vector data?

ultimately I would like to gather several vector + bitmap files (ai, eps, and pdf, etc..) and merge/layer them into one pdf file. Is this possible with imagemagick + php extension (like magickwand)? I've tried tcpdf, which uses imagemagick, but couldn't get it to recognize the ai/eps/pdf files that I used for input.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: preserve vector data during convert

Post by anthony »

Read...
A word about Vector Image formats
http://www.imagemagick.org/Usage/formats/#vector

IM is a raster image process with only minor vector handling capabilities to DRAW the vectors.

It does not preserve vectors.

the above link contains pointers to programs I know about that can do vector to vector image conversions. If you fond any others, than please let us know.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply