faqts : Computers : Programming : Languages : Python : Common Problems : Images

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 4 people (100%) answered Yes
Recently 2 of 2 people (100%) answered Yes

Entry

How can I combine two BMP images so that one overlays the other?

Jun 4th, 2000 04:30
unknown unknown, Robert Roy, Anders Eriksson


I think PIL might be what you need.

http://www.pythonware.com/products/pil/index.htm

This page of the tutorial talks about pasting images and transparency

http://www.pythonware.com/library/pil/handbook/intro01.htm

You may want to look up the function 'composite'.