Skip to content

Instantly share code, notes, and snippets.

@nrabinowitz
nrabinowitz / quantize.js
Created Jul 25, 2011
Javascript module for color quantization, based on Leptonica
View quantize.js
/*!
* quantize.js Copyright 2008 Nick Rabinowitz.
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
*/
// fill out a couple protovis dependencies
/*!
* Block below copied from Protovis: http://mbostock.github.com/protovis/
* Copyright 2010 Stanford Visualization Group
* Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php