avir-rs
avir-rs: Rust bindings for avir, a SIMD image resizing / scaling library.
Usage
Rust
The following snippet demonstrates how to downscale an image using a fast Lanczos algorithm:
let mut dst = vec!;
let src = vec!;
clancir_resize;
C/C++
The library provides C bindings, making it useful in both Rust and C/C++ based projects.
unsigned char dst;
unsigned char src;
;
The relevant header is available in include/avir_rs.h
.
License
This library is published under MIT.
Uses avir.