xscaled
xscaled is a cross-platform open-source library and API for image and texture scaling. It provides high-quality resampling and color-management features for graphics applications, game engines, and image-editing tools. The library implements multiple scaling algorithms, including nearest neighbor, bilinear, bicubic, Lanczos, and other higher-order filters, with a focus on artifact reduction and preserved detail. It also supports color-space conversion, gamma handling, and linear-light workflows, enabling consistent results across source and destination formats.
xscaled is designed with a modular architecture. The core is written in C with a plugin interface
The project provides a stable C API and bindings for several languages, including Python, Rust, and JavaScript.
xscaled originated as an open-source effort in the mid-2010s and is maintained by a community of volunteers