use crate::image::{Image, ImageCodec, ImageFormat};
use crate::{Engine, Result};
#[allow(clippy::type_complexity)]
const _: fn(&Engine, &[u8], ImageFormat) -> Result<Image> = crate::image::decode_memory;
#[allow(clippy::type_complexity)]
const _: fn(&Image, ImageCodec, u32) -> Result<Vec<u8>> = crate::image::encode;
#[allow(clippy::type_complexity)]
const _: fn(ImageCodec) -> bool = crate::image::can_decode;
#[allow(clippy::type_complexity)]
const _: fn(ImageCodec) -> bool = crate::image::can_encode;
#[allow(clippy::type_complexity)]
const _: fn(&Engine, &std::path::Path, ImageFormat) -> Result<Image> =
|engine, path, format| crate::image::decode_file(engine, path, format);
#[allow(clippy::type_complexity)]
const _: fn(&std::path::Path, &Image, u32) -> Result<()> =
|path, image, quality| crate::image::save_file(path, image, quality);
#[allow(clippy::type_complexity)]
const _: fn(&[u8], u32, u32, &std::path::Path, u32) -> Result<()> =
|rgba, width, height, path, quality| {
crate::image::save_rgba_file(rgba, width, height, path, quality)
};