7 releases
| 0.2.5 | May 27, 2025 |
|---|---|
| 0.2.4 | May 26, 2025 |
| 0.2.3 | Jan 27, 2025 |
| 0.1.0 | Nov 17, 2024 |
#481 in Images
55 downloads per month
Used in 3 crates
(2 directly)
395KB
7.5K
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