#image #image-processing


Common image processing routines for zune-image

3 releases

0.4.12 Dec 2, 2023
0.4.11 Nov 17, 2023
0.4.0 Nov 17, 2023

#371 in Images

Download history 46/week @ 2023-11-12 46/week @ 2023-11-19 51/week @ 2023-11-26 52/week @ 2023-12-03

195 downloads per month
Used in blade-render

MIT OR Apache-2.0 OR Zlib

11K SLoC


A library for low level image processing routines

They work on raw pixels (T) and they are focused on speed and safety.


Some filters are in alpha stage, and some are broken, don't use a filter with a Broken tag


Add the crate to your dependencies e.g cargo add zune-imageprocs

After that one can use the processing routines since they implement zune-image OperationsTrait, anywhere that supports them can call on them

E.g to increase the exposure of an image

fn main(){
    let img= 


Most routines in the library can be benchmarked, but they require a nightly compiler

To test speed of most routines run

cargo bench --features=benchmarks


Image processing routines for zune-image

This implements some common image processing routines to be used with zune-image

It implements the OperationsTrait defined by zune-image.


  • Increase exposure of image by 2.0
use zune_core::colorspace::ColorSpace;
use zune_image::image::Image;
use zune_image::traits::OperationsTrait;
use zune_imageprocs::exposure::Exposure;
let mut image = Image::fill::<u8>(233,ColorSpace::RGB,100,100);
let exposure = Exposure::new(2.0,0.0);
// execute the filter
exposure.execute(&mut image).unwrap();