@@ -239,6 +239,7 @@ where
239239///
240240/// An Array with pixel values loaded from the image
241241#[ allow( unused_mut) ]
242+ #[ allow( clippy:: match_wild_err_arm) ]
242243pub fn load_image < T > ( filename : String , is_color : bool ) -> Array < T >
243244where
244245 T : HasAfEnum + RealNumber ,
@@ -282,6 +283,7 @@ where
282283///
283284/// An Array with pixel values loaded from the image
284285#[ allow( unused_mut) ]
286+ #[ allow( clippy:: match_wild_err_arm) ]
285287pub fn load_image_native < T > ( filename : String ) -> Array < T >
286288where
287289 T : HasAfEnum + ImageNativeType ,
@@ -309,6 +311,7 @@ where
309311/// - `filename` is the abolute path(includes filename) at which input Array is going to be saved
310312/// - `input` is the Array to be stored into the image file
311313#[ allow( unused_mut) ]
314+ #[ allow( clippy:: match_wild_err_arm) ]
312315pub fn save_image < T > ( filename : String , input : & Array < T > )
313316where
314317 T : HasAfEnum + RealNumber ,
@@ -340,6 +343,7 @@ where
340343/// - `filename` is name of file to be saved
341344/// - `input` is the Array to be saved. Should be U8 for saving 8-bit image, U16 for 16-bit image, and F32 for 32-bit image.
342345#[ allow( unused_mut) ]
346+ #[ allow( clippy:: match_wild_err_arm) ]
343347pub fn save_image_native < T > ( filename : String , input : & Array < T > )
344348where
345349 T : HasAfEnum + ImageNativeType ,
@@ -1273,6 +1277,7 @@ hsvrgb_func_def!("RGB to HSV color space conversion", rgb2hsv, af_rgb2hsv);
12731277/// 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 0 0 0 0 0
12741278/// 16 17 18 19 0 21 22 23 24 0 26 27 28 29 0 31 32 33 34 0 0 0 0 0 0
12751279/// ```
1280+ #[ allow( clippy:: too_many_arguments) ]
12761281pub fn unwrap < T : HasAfEnum > (
12771282 input : & Array < T > ,
12781283 wx : i64 ,
@@ -1324,6 +1329,7 @@ pub fn unwrap<T: HasAfEnum>(
13241329/// # Return Values
13251330///
13261331/// Image(Array) created from unwrapped Image(Array)
1332+ #[ allow( clippy:: too_many_arguments) ]
13271333pub fn wrap < T : HasAfEnum > (
13281334 input : & Array < T > ,
13291335 ox : i64 ,
0 commit comments