fast image operations
Diffstat (limited to 'src/affine.rs')
-rw-r--r--src/affine.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/affine.rs b/src/affine.rs
index f50ba30..7404293 100644
--- a/src/affine.rs
+++ b/src/affine.rs
@@ -27,7 +27,7 @@ impl<const CHANNELS: usize> Image<&mut [u8], CHANNELS> {
}
/// Flip a image horizontally.
- fn flip_h(&mut self) {
+ pub fn flip_h(&mut self) {
for y in 0..self.height() {
for x in 0..self.width() / 2 {
let x2 = self.width() - x - 1;