Article Outline
Python pil example 'PIL org Point'
python PIL org Point
Python pil example: PIL org Point
#像素点处理
from __future__ import print_function
from PIL import Image
imin = "test.jpg"
im = Image.open(imin)
im.show()
out = im.point(lambda i: i * 2)
out.show()
Python links
- Learn Python: https://pythonbasics.org/
- Python Tutorial: https://pythonprogramminglanguage.com