"PIL Image / opencv"의 두 판 사이의 차이

ph
이동: 둘러보기, 검색
잔글
잔글 (Admin님이 PIL Image 문서를 PIL Image / opencv 문서로 이동했습니다)
(차이 없음)

2019년 5월 13일 (월) 17:06 판

transparent image paste

import Image

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

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

[1]