[Image-SIG] Paste with alpha not working correctly

Jerome Leclanche adys.wh at gmail.com
Sun Aug 29 21:40:24 CEST 2010


Sorry Helge; unless you rewrite a pasting method in python (which is
out of my league currently) there is no way around this.

I'd still recommend compiling PIL; it's pretty easy since it has build
scripts and so on.

J. Leclanche / Adys



On Sun, Aug 29, 2010 at 8:21 PM, Helge <image-sig at online.de> wrote:
> Hello Jerome,
>
> Jerome Leclanche schrieb:
>>
>> I believe I've run into that issue before when creating composited
>> images. I fixed it with the following hack in libImaging/Paste.c:135 @
>> paste_mask_RGBA
>> Replaced the for loop with the following:
>
> Glad to read that there is a solution.
> Sadly I have no possibility to compile the C part. Is there a workaround in
> python only? (Slowness is no problem.)
>
> Thanks and best Regards,
>  Helge
>


More information about the Image-SIG mailing list