Function lodepng::convert [] [src]

pub fn convert<PixelType>(input: &[PixelType], mode_out: &mut ColorMode, mode_in: &ColorMode, w: usize, h: usize, fix_png: bool) -> Result<ImageError>

Converts from any color type to 24-bit or 32-bit (only)