[reportlab-users] Using EPS Files / PDF Images in canvas

Roberto Alsina ralsina at netmanagers.com.ar
Mon Nov 24 06:22:38 EST 2008


On Monday 24 November 2008 08:58:33 Bülent Aldemir wrote:

> Hi,

>

> I have googled but I found no solution for embedding EPS files or PDF

> images in a canvas.

>

> Is this possible?


You can convert EPS to SVG and then use Dinu's svglib, or you can see if
uniconvertor can handle the specific file and use my SVGImage flowable (don't
be fooled by the name, it can handle some EPS files)

My flowable is just these two files (and uniconvertor)

http://code.google.com/p/rst2pdf/source/browse/trunk/rst2pdf/svgimage.py
http://code.google.com/p/rst2pdf/source/browse/trunk/rst2pdf/uniconvsaver.py

--
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. " -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007)

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it. --Brian W. Kernighan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20081124/7db8aa2a/attachment.html>


More information about the reportlab-users mailing list