All i need is create a .png image with transparent background, draw some text in black on it and save it using img.save('target.png', option='optimize')
It looks like to save .png images in 32-bit mode automatically. Can I reduce the color depth while not make the output images looks much worse before saving? Since it contains only black text and transparent background, i guess reducing color depth would greatly reduce file size.