[reportlab-users] painting an image over another

andy at reportlab.com andy at reportlab.com
Fri Feb 4 08:29:45 EST 2005


> As you may have guessed, my experience with image manipulation is 
zero.

To be honest ours is not much better.  All we are doing is allowing
some parameters to be passed through to a data structure defined
in the Acrobat specification.  The reason the colour models differ
is that PDF has continuous colours in some colour models and graphic
designers think in terms of 0-1 or 0% to 100%; but most RGB bitmaps are
very specifically 256 bits per pixel.  The work we do for customers
almost lways uses vector graphics not bitmap.

It does work enough to let you put, say, a round image on
a yellow background without getting an ugly white border rectangle.
I think you can see this from the mask example in our test script.
But you'll have to experiment on more and tell us
what you find when you start overlaying them.  I'd happily expand
the docs and tests with more information...

Good luck,

Andy Robinson


More information about the reportlab-users mailing list