[reportlab-users] How could I do this? inline images with relative widths

Roberto Alsina ralsina at netmanagers.com.ar
Thu Jun 17 06:07:01 EDT 2010

In rst2pdf I have a MyImage flowable, which is just like Image, but support
widths like "50%" by calculating the width during wrap(), when they know the
size of their container.

However, that doesn't work for images in paragraphs (using <img>) because then
I don't have an image flowable (which I could replace with MyImage), but just
a tag.

I am thinking about how to hack around this and am drawing a blank here. Any

More information about the reportlab-users mailing list