def updateAfterRotate(self,evt):
screenShotPath = os.path.join(os.getcwd(), "screenShot", "screenshot.png")
img = Image.open(screenShotPath)
out = img.rotate(90,expand=1)
out.save(screenShotPath)
wx.CallAfter(pub.sendMessage, "update", msg=screenShotPath)
评论列表
文章目录