aardio合并图片

import console
import gdip.bitmap

img01 = gdip.bitmap("/01.png")
img02 = gdip.bitmap("/02.png")
img03 = gdip.bitmap("/03.png")

img = gdip.bitmap(1740, 1078)
img.graphics.drawImageRect(img01, 0, 0, 580, 1078)
img.graphics.drawImageRect(img02, 580, 0, 580, 1078)
img.graphics.drawImageRect(img03, 1160, 0, 580, 1078)
img.save("/test.png")
img.dispose()
img01.dispose()
img02.dispose()
img03.dispose()

 

posted @ 2024-04-01 22:39  lobtao  阅读(27)  评论(0编辑  收藏  举报