how to grayscale image in python code example
Example: python image to grayscale
from PIL import Image
img = Image.open("image.jpg")
img.convert("L").save("result.jpg")
from PIL import Image
img = Image.open("image.jpg")
img.convert("L").save("result.jpg")