本文教程操作环境:windows7系统、Python 3.9.1,DELL G3电脑。
简介:
实现图像的存储以及各种处理,基本上所有图片格式都可以处理。
功能:
1、图片归档
2、图片处理
安装:
pipinstallpillow
调用:
fromPILimportImage
实例应用:
fromPILimportImage
nest=Image.open("D:\\nest.jpg")
r,g,b=nest.split()
newb=b.point(lambdai:i*1.1)
本文教程操作环境:windows7系统、Python 3.9.1,DELL G3电脑。
简介:
实现图像的存储以及各种处理,基本上所有图片格式都可以处理。
功能:
1、图片归档
2、图片处理
安装:
pipinstallpillow
调用:
fromPILimportImage
实例应用:
fromPILimportImage
nest=Image.open("D:\\nest.jpg")
r,g,b=nest.split()
newb=b.point(lambdai:i*1.1)