Quantizes a 32-bit RGBA PNG image to an 8 bit RGBA palette PNG
using the neuquant algorithm.
Rate This ProjectLogin To Rate This Project
Great program with lots of useful tools.
Checked to see how this library would quantize a RGBA true color image. This is for rendering scientific data that has up to 512 levels (or ~9 bit pallette, single hue from black to white), which is of course very limited, but where 1/3 to 1/5 of the data has variable alpha. It is a little slow taking ~8-10 sec to convert a 1024x1024 image (that I'm sure is fine for most purposes), but it does an amazing job building a PNG8 that is indistinguishable from the original image.
An essential image processing tool!