from PIL import Image, ImageOps image = Image.open("./Whatever.png") ImageOps.grayscale(image)
Image.open(path).convert('LA')