PIL Image / opencv

ph
(PIL Image에서 넘어옴)
이동: 둘러보기, 검색

transparent image paste

import Image

background = Image.open("test1.png")
foreground = Image.open("test2.png")

background.paste(foreground, (0, 0), foreground)
background.show()

[1]

opencv

links

tutorial