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