convert rgb to grayscale 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')