pillow rgb to grayscale code example Example 1: pillow rgb to grayscale Image.open(path).convert('LA') Example 2: pillow rgb to grayscale Image.open(path).convert('LA')