pil open image as grayscale code example Example: python pil to greyscale #PIL image img2 = img.convert('L')