[reportlab-users] Image flowable and relative widths
Roberto Alsina
ralsina at netmanagers.com.ar
Tue May 26 20:57:28 EDT 2009
Is there a way to make the Image flowable work as HTML's img tag with relative
widths?
Just like in HTML an IMG tag with a 80% width will take 80% of its container.
I looked at the sources, but it seems a 80 width with a 'percentage' kind
actually works like HTML's scale (that is, show it at 80% of the image's
width).
Could another 'kind' be added? It would imply calculating drawWidth and
drawHeight at wrap() time, though.
--
("\''/").__..-''"`-. . 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)
"Our opponent is an alien starship packed with atomic bombs, I said.
We have a protractor. Okay, I’ll go home and see if I can scrounge up a
ruler and a piece of string." — Neal Stephenson
More information about the reportlab-users
mailing list