resize

Function new

Source
pub fn new<Format: PixelFormat>(
    src_width: usize,
    src_height: usize,
    dest_width: usize,
    dest_height: usize,
    pixel_format: Format,
    filter_type: Type,
) -> Result<Resizer<Format>>
Expand description

Create a new resizer instance. Alias for Resizer::new.