UpscalerJS
Enhance Images with Javascript and AI. Increase resolution, retouch, denoise, and more. Open Source, Browser & Node Compatible, MIT License.
- π Pretrained Models: Enhance images using UpscalerJS's diverse pretrained models, designed to suit various image styles and requirements including increasing image resolution, denoising, deblurring, and more.
- π Seamless Platform Integration: Integrate UpscalerJS across Browser, Node (CPU and GPU), and Workers environments.
- π Comprehensive Documentation: Leverage UpscalerJS confidently with extensive documentation, thorough examples, and TypeScript support.
- π UI-Focused Enhancement: Performant UI support with built-in patch-based processing that supports performance without sacrificing quality.
- π± Device Compatibility: Consistent image enhancement across a variety of devices, including desktops, tablets, and phones.
- 𧩠Custom Model Integration: Extend UpscalerJS by integrating your own pretrained models for personalized image enhancements.
A live demo is here.
Quick Start
import Upscaler from 'upscaler';
const upscaler = new Upscaler();
upscaler.upscale('/path/to/image').then(upscaledImage => {
console.log(upscaledImage); // base64 representation of image src
});
Documentation
View the docs here.
Guides
You can view runnable code examples. You can also find the guides here on Github.
Support the Project
Add a βοΈ star on GitHub or β€οΈ tweet to support the project!
License
MIT License Β© Kevin Scott