"PIL Image / opencv"의 두 판 사이의 차이
ph
(새 문서: # transparent image paste <source lang=python> import Image background = Image.open("test1.png") foreground = Image.open("test2.png") background.paste(foreground, (0, 0), foreground...) |
(차이 없음)
|
2019년 5월 13일 (월) 17:01 판
- transparent image paste
import Image
background = Image.open("test1.png")
foreground = Image.open("test2.png")
background.paste(foreground, (0, 0), foreground)
background.show()