1、将visio图保存为pdf,打开pdf
2、采用shift+win+s进行屏幕 ,选择区域截图
3、将截图放入pycharm中,利用代码转化为灰度图
from PIL import Image rgb_image = Image.open('img/1111.png') gray_image = rgb_image.convert('L') gray_image.save('img/灰度1111.jpg')
标签:img,image,rgb,1111,专利,灰度,visio From: https://www.cnblogs.com/yyhappy/p/17610892.html