Can I convert XML or SWF to Vector PDF?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
mtrico08
Posts: 7
Joined: 2011-03-15T12:25:06-07:00
Authentication code: 8675308

Can I convert XML or SWF to Vector PDF?

Post by mtrico08 »

My site uses ImageMagick for an online design tool in flash. The application permits me to upload high res images (up to 60MB each) which are assembled in an XML file as layers within the flash file itself. That XML file resizes the layers to fit within the application on the website and then converts to a jpg file, which I also store as a PDF.

However, these designs need to be able to be printed at large sizes, comparable to the resolution of the images which were initially imported. My understanding is that I can do so by saving the file as a Vector PDF instead of jpg. Is that possible with ImageMagick? If so, how do I go about doing that? I can provide the code that handles the conversion to jpg if necessary.

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

Re: Can I convert XML or SWF to Vector PDF?

Post by anthony »

more than likely you will need a secondary tool to extract images from the XML structure. There are lots of generic tools to do this.

Basically XML is a very open (but very well defined) format, and IM would have no way of knowing just what element is the image to be processed.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
mtrico08
Posts: 7
Joined: 2011-03-15T12:25:06-07:00
Authentication code: 8675308

Re: Can I convert XML or SWF to Vector PDF?

Post by mtrico08 »

Thanks Anthony. I'll let you know if I'm able to find a solution for that.
Post Reply