Convert 32 bit png to 8 bit png with ImageMagick by preserving semi transparent pixels
问题 I want to convert 32 bit png to 8 bit png with ImageMagick, but semi transparent pixels are lost. How to solve this problem? The command that I am using is the following convert original.png PNG8:output.png 回答1: Apparently, even though the PNG format actually allows any and all of the colors in an 8-bit indexed color PNG to be fully or partially transparent, ImageMagick's "PNG8" format specifier only supports GIF-style 1-bit transparency. It's possible to produce indexed 8-bit PNGs using