4 releases
new 0.2.2 | Jan 16, 2025 |
---|---|
0.2.1 | Jan 13, 2025 |
0.2.0 | Jan 12, 2025 |
0.1.0 | Nov 17, 2024 |
#339 in Images
204 downloads per month
Used in libblur
320KB
6K
SLoC
Fast image transpose
Fast and simple image rotating in Rust with flipping and flopping in-place and rotating by 180.
Supports:
- Flipping ( Horizontal Mirror )
- Flopping ( Vertical Mirror )
- Transposing ( Rotate by 90 )
- Rotate by 180
- Rotate by 270
Adding to project
cargo add fast_transpose
Transpose RGB image
transpose_rgb(
&img,
&mut transposed,
dimensions.0 as usize,
dimensions.1 as usize,
FlipMode::NoFlip,
FlopMode::NoFlop,
)
.unwrap();
Features
Turning off unsafe
feature will activate forbid unsafe
mode.
This project is licensed under either of
at your option.
Dependencies
~140KB