Answers for "python pillow convert to grayscale"

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

python pil to greyscale

#PIL image
img2 = img.convert('L')
Posted by: Guest on February-06-2021

Code answers related to "python pillow convert to grayscale"

Python Answers by Framework

Browse Popular Code Answers by Language