pub fn render_binary_image_to_canvas( canvas: &Canvas, image: &BinaryImage, ) -> Result<(), &'static str>