[BangPypers] svg string to pdf

Venkatraman S venkat83 at gmail.com
Wed Jun 29 10:17:59 CEST 2011


On Wed, Jun 29, 2011 at 1:37 PM, Gora Mohanty <gora at mimirtech.com> wrote:

>
> Not quite what you want, but after struggling with PIL, and other libraries
> for some simple-to-moderately complex image processing, we have chosen
> to simply use ImageMagick via popen. Imagemagick is fully featured, at
> least
> as far as we are concerned. You could use it to convert SVG to PDF, and
> scale the image in the process.
>

Problem statement : given a svg string, i want this to be
converted-to/embedded-in
pdf. The svg file should NOT be created on the file system.
(If the svg can *automatically* scale based on the width of the pdf, then
its awsum!)

What is the memory footprint of ImageMagick? I dont like to have truck load
of apps to get
something done. ReportLab is a known name in creating pdfs and its installed
almost
always, and svglib is just ONE single py file. But if ImageMagick is AWSUM,
then dont
mind giving it a try.

-V
http://blizzardzblogs.blogspot.com/


More information about the BangPypers mailing list