convert rgb to gray python code example
Example: rgb to grayscale python
from PIL import Image
img = Image.open('image.png').convert('LA')
img.save('greyscale.png')
from PIL import Image
img = Image.open('image.png').convert('LA')
img.save('greyscale.png')