Released: nQuant .net 8 bit PNG Quantizer

7. September 2011 15:22 by Matt Wrock in   //  Tags:   //   Comments

Last weekend I blogged about the quantization algorithm I had been working on in order optimize images in my Auto CSS minification and spriting framework RequestReduce. Yesterday, I released this code as its own project on While this quantizer provides great value for users of RequestReduce, I wanted to provide it as a separate component for anyone who would like to take advantage of its ability to dramatically reduce the size of their images. As I mentioned before, I have been seeing 3x reductions in image sizes of the 32bit PNG I produce in RequestReduce.

You can incorporate the quantizing DLL into your own code to transform any bitmap and get a 8 bit PNG bitmap back. I also provide a command line wrapper you can use to quantize individual image files from a script.

You download nQuant at or if you have Nuget, simply enter:

Install-Package nQuant

from the Package Manager Console.

I would appreciate any feedback, bug reports or suggestions for added features at You are also welcome to contribute to the code.

blog comments powered by Disqus

About Me

Hey thats me!

I'm Matt Wrock with over fifteen years of experience architecting scalable, distributed, high traffic web applications as well as environment and deployment automation. I currently live in Woodinville, WA with my wife, two daughters, four dogs and two cats. Until just recently I worked for Microsoft as a Sr. Software Engineer and now work for CenturyLink Cloud focusing on data center automation. I'm also project founder of and a committer to

Month List