[reportlab-users] Using images in a Drawing

Dinu Gherman gherman at darwin.in-berlin.de
Thu Jan 12 09:30:01 EST 2006


Robin Becker:

> I just tried this with a simple image
> and get the expected result (at least with trunk revision).

Thanks for testing! Funny enough, but all the JPEGs I tried before
have a screct feature giving the result I described. Your sample
works ok for me!

Might be an issue with PIL being picky with certain JPEGs (if PIL
is used here). Haven't tried PIL alone, but here's a sample that
fails with my previously posted code (you need a browser to get
it):

    
http://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/ 
CO1EURO_50.JPG/180px-CO1EURO_50.JPG

Regards,

Dinu



More information about the reportlab-users mailing list