[Image-SIG] How to overlay a mostly transparent image over another image?
maxerickson at gmail.com
Fri Feb 16 22:07:38 CET 2007
Matthew Wilson <matt at tplus1.com> wrote:
> I have a bunch of 50x50 PNG files that show a little product. I
> have some other 50x50 PNG files that are transparent except for
> the bottom right corner, which has some text like "new!" or
> I want to create a new file that contains the original product
> thumbnail, plus the mostly transparent image added over.
> I figure this is a very straightforward operation, but I'm not
> getting anywhere yet.
> This is what I've tried so far:
Maybe you want im.paste? See the section about it at:
More information about the Image-SIG