Answers for "python matplotlib grayscale image"

3

plt.imshow grayscale

plt.imshow(arr, cmap='gray', vmin=0, vmax=255)
Posted by: Guest on May-17-2020
2

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

Code answers related to "python matplotlib grayscale image"

Python Answers by Framework

Browse Popular Code Answers by Language