Answers for "convert the bmp. image to grayscale python"

3

python image to grayscale

from PIL import Image
img = Image.open("image.jpg")
img.convert("L").save("result.jpg")
Posted by: Guest on March-18-2021
1

python image to grayscale

from PIL import Image
Image.open("image.jpg").convert("L").save("result.jpg")
Posted by: Guest on January-01-2022

Code answers related to "convert the bmp. image to grayscale python"

Python Answers by Framework

Browse Popular Code Answers by Language