[BangPypers] svg string to pdf
gora at mimirtech.com
Wed Jun 29 10:07:13 CEST 2011
On Wed, Jun 29, 2011 at 1:04 PM, Venkatraman S <venkat83 at gmail.com> wrote:
> On Wed, Jun 29, 2011 at 11:17 AM, Venkatraman S <venkat83 at gmail.com> wrote:
>> I am trying to use reportlab(along with svglib) to draw a svg string into a
>> pdf, but so far have not been successful.
>> I can share the code for the same; but was wondering if anyone has any
>> other options for the same?
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.
More information about the BangPypers