[reportlab-users] Anybody else hungry for Image shapes?

Dinu Gherman reportlab-users@reportlab.com
Tue, 30 Jul 2002 22:41:19 +0200

Robin Becker:

>> Wouldn't including SVG 'pictures' be implemented by by Dinu's
>> conversion to RLG and then using the general mechanism of embedding
>> one picture inside another?
> I'm not sure that it parses SVG, I thought RLG produces SVG via
>  renderSVG.

It's pretty simple, or at least I thought it was:

renderSVG:   RLG -> SVG
svglib (*):  SVG -> RLG

SVG 'pictures' would map to something in RLG, which so far does
exist only for PDF, i.e. the can be rendered again only in PDF
using renderPDF. After Robin's fix it should also work with
renderPM, but I haven't tested yet.


* http://python.net/~gherman/#svglib