Answers for "connvert rgb to gray in python"

0

rgb to grayscale python

from PIL import Image
img = Image.open('image.png').convert('LA')
img.save('greyscale.png')
Posted by: Guest on March-20-2021

Python Answers by Framework

Browse Popular Code Answers by Language