How to convert PNG in RGB(A)8888 into PNG with 256 color and alpha in RGB(A)3328 using Wand, python?

For an example I have example.png which has 4 channels by 8 bits. Result is 32 bits per pixel. I want to convert it in PNG image with only 256 colors and alpha channel. I expect result in 16 bits per pixel. from wand import image with image.Image(filename=”example.png”) as img: # add some properties img.save(filename=”example_out.png”)…

Details