[Image-SIG] Paste with alpha not working correctly

Stani spe.stani.be at gmail.com
Thu Sep 2 11:51:07 CEST 2010

On Sun, Aug 29, 2010 at 9: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.)
You might try this paste function which I developed for Phatch:

Best regards,

Phatch Photo Batch Processor - http://photobatch.stani.be
SPE Python IDE - http://pythonide.stani.be

More information about the Image-SIG mailing list