Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python image to grayscale

from PIL import Image
img = Image.open("image.jpg")
img.convert("L").save("result.jpg")
 
PREVIOUS NEXT
Tagged: #python #image #grayscale
ADD COMMENT
Topic
Name
2+3 =