Please help me w/ Python Imaging Libarary

D

Dragon A. Wisard

If someone here has experince w/ PIL please tell me how im.paste(image,
box,mask) works. I don't have much experience working w/ image files, so I
don't know exactly what I'm doing, but I keep getting a Bad Mask error no
matter what I put in as the Mask. I've been reading the pil-handbook.pdf
and it doesn't help me at all.
 
L

Larry Bates

My documentation on PIL shows im.paste(image, box)
as well as an example with im.paste(image, box, mask) (page 6)

Try it without the mask or define a mask that is
a proper list of points (as in the example).

-Larry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,336
Messages
2,571,767
Members
48,559
Latest member
CKBShona71

Latest Threads

Top