Sivq is a project mainly written in GO and JAVASCRIPT, it's free.
Spatially-Invariant Vector Quantization
This code is mostly based on this article.