Please help me w/ Python Imaging Libarary

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dragon A. Wisard

    Please help me w/ Python Imaging Libarary

    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.
  • Larry Bates

    #2
    Re: Please help me w/ Python Imaging Libarary

    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

    ----------------------------------------------------------
    "Dragon A. Wisard" <adam@dragonwis ard.net> wrote in message
    news:Xns94987D3 E2CD21adamdrago nwisardnet@199. 45.49.11...[color=blue]
    > 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.[/color]


    Comment

    Working...