I had a color jpeg image and with the syntax below changed it to a grayscale png
from PIL import Image
img = Image.open('../house.jpeg').convert('L')
img.save('house_gs.png')
But it is 8-bit, how can I make it 4-bit so that each pixel of it becomes 4-bit?
Thank you.