Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to convert img to gray python

from PIL import Image
img = Image.open('image.png').convert('L')
img.save('greyscale.png')
 
PREVIOUS NEXT
Tagged: #convert #img #gray #python
ADD COMMENT
Topic
Name
1+3 =