Answers for "convert image to grayscale python pillow"

2

python image to grayscale

from PIL import Image
img = Image.open("image.jpg")
img.convert("L").save("result.jpg")
Posted by: Guest on March-18-2021
0

pillow rgb to grayscale

Image.open(path).convert('LA')
Posted by: Guest on March-21-2021

Code answers related to "convert image to grayscale python pillow"

Python Answers by Framework

Browse Popular Code Answers by Language