[reportlab-users] Transparent png

Tim Roberts timr at probo.com
Tue May 23 12:37:23 EDT 2017


Arkadi Colson wrote:
> Does anybody know if it's possible to use tranparent png images with the 
> code below:
>
> self.data[x][y] = Paragraph(
>                              '<img src="' + filename + '" 
> valign="middle"/>', style=self.style_def)

Wouldn't it have been quicker just to try it?

Although I don't know the answer, I will point out that transparency has
always been a tricky issue with PostScript and, by extension, PDF.  Both
standards were designed with paper and printing in mind, where
transparency does not exist.  Most professional print shops will not
accept PDF files with embedded transparency, because it's not clear what
that means.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list