neuquant-js
Neural-network image quantization algorithm for efficient color reduction.
- Status
- UnmaintainedNo commits in 3503 days.
- Last checked
- Checked · Oct 16, 2026
- License
- Open source
- Pricing
- Free tier · from $0
What it is
NeuQuant is a JavaScript implementation of the NeuQuant neural network-based image quantization algorithm, which reduces the number of colors in an image while preserving visual quality. It's particularly useful for optimizing images for web and mobile applications where bandwidth and storage are limited.
neuquant-js stands out as a lightweight and efficient JavaScript library for neural network-based image quantization, making it ideal for web and mobile applications that need to balance visual quality with performance.
When it fits — and when it doesn’t
A good fit for
Developers working on web and mobile applications who need to optimize image sizes without compromising visual quality.
Projects where bandwidth or storage constraints are a significant concern.
Look elsewhere if
Applications requiring real-time, high-fidelity image processing with no color reduction.
Use cases where the preservation of every original pixel is critical (e.g., medical imaging).
Known weaknesses
Each one links to the public issue, changelog or docs page it came from, where we have one.
- 01
Limited documentation and examples
The official repository lacks detailed usage guides and practical examples, making it difficult for new users to effectively integrate neuquant-js into their projects.
- 02
Performance issues with large images
Processing high-resolution or large-sized images can be slow and resource-intensive, which may not be ideal for real-time applications or environments with limited computational resources.
- 03
Narrow focus limits flexibility
neuquant-js is specifically designed for color reduction in images using a neural network approach. This narrow scope means it may not be suitable for more complex image processing tasks or other types of data.
- 04
Community and support are limited
The project has a small community, which can lead to slower response times for issues and feature requests. The open-source nature helps, but contributions may be infrequent or sporadic.
What it does well
Neural network-based image quantization for efficient color reduction.
Optimized for web and mobile applications to reduce bandwidth usage.
MIT licensed, open-source implementation.
Pricing
- Free tier
- YesOpen source — free to use
- Paid from
- $0
- Model
- Flat rate
- Enterprise plan
- No
Pricing not independently confirmed — check the vendor’s page.
Performance benchmarks
How Fast Is It?
Set up neuquant-js
Setup steps, common gotchas and what to check after 30 days.