fast image operations
Diffstat (limited to 'src/scale/algorithms.rs')
-rw-r--r--src/scale/algorithms.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scale/algorithms.rs b/src/scale/algorithms.rs
index d1dd6cf..55a71d2 100644
--- a/src/scale/algorithms.rs
+++ b/src/scale/algorithms.rs
@@ -75,6 +75,8 @@ macro_rules! alg {
.resize(&ChannelCount::<N>::handle(i).view(), &mut dst.view_mut())
}
+ ChannelCount::<N>::unhandle(&mut dst);
+
// SAFETY: ctor
unsafe { Image::new(dst.width(), dst.height(), dst.into_vec().into()) }
}