[reportlab-users] Transparent PNG support

Darryl Woods dwoods at darrylwoods.ca
Tue Dec 11 02:18:26 EST 2007


Hi all,

I am creating a report with ReportLab, and as part of this I have
extended the Table class to do some custom drawing for table borders and
such. Part of the design, however, is that the right side of the tables
"fade out" to white, using a gradient. (The report was designed by a
graphic designer...)

I've tried various things:

- placing a dithered black/white GIF image and setting the transparency
mask (looks very bad)
- placing a PNG with transparency (transparency doesn't appear)
- drawing a series of vertical lines, getting increasingly lighter (no
transparency though)

Is there any way I can accomplish this?

Thanks,
Darryl


More information about the reportlab-users mailing list