from PIL import Image, ImageOps image = Image.open("./Whatever.png") ImageOps.grayscale(image)
#PIL image img2 = img.convert('L')