process_image

Function process_image 

Source
pub fn process_image<P: AsRef<Path>>(
    input_path: P,
    output_path: P,
    foreground_colors: Vec<Color>,
    background_color: Color,
    strict_mode: bool,
    threshold: Option<f64>,
    trim: bool,
) -> Result<()>
Expand description

Process an image to remove its background