PIL Image / opencv

ph
Admin (토론 | 기여)님의 2019년 5월 13일 (월) 17:01 판 (새 문서: # transparent image paste <source lang=python> import Image background = Image.open("test1.png") foreground = Image.open("test2.png") background.paste(foreground, (0, 0), foreground...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
이동: 둘러보기, 검색
  1. transparent image paste
import Image

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

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