摘要:
tkinter中显示图像,要考虑适应不同的分辨率下显示问题。查了好多资料,封装代码如下。 import pyautogui import tkinter from PIL import Image, ImageTk ''' 思路是对一个pil_image对象进行缩放,让它在一个矩形框内,保持比例 导 阅读全文
posted @ 2021-11-27 12:04
翩翩浊世之佳公子
阅读(2325)
评论(0)
推荐(0)
浙公网安备 33010602011771号