[reportlab-users] RGBA Colors
Robin Becker
robin at reportlab.com
Thu Dec 3 11:18:16 EST 2009
Kevin D Smith wrote:
...........
>> I'm not convinced the alpha things apply to images, Kevin says they do, but is that from observation or just an assertion. Perhaps images count as something filled or stroked. I haven't tried it out yet.
>> --
>> Robin Becker
>
> Just coincidentally, I was doing something with images this morning and I had used a color with a 0.5 alpha just before putting in the image. When I did that, the image came out with 0.5 alpha as well. I actually had to set the canvas alpha to 1 in this case to make it look like I wanted it to. So it does work, at least in the case of the drawImage method.
.......
yes I just tried and it seems that images are regarded as filled.
On the other hand I am really not comfortable that drawing an image will change
the way following text gets drawn.
--
Robin Becker
More information about the reportlab-users
mailing list