From 82877319529b524d5d372103ed1316bb3416de4c Mon Sep 17 00:00:00 2001 From: Sander Hautvast Date: Mon, 24 Jan 2022 22:38:16 +0100 Subject: [PATCH] updated example in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 51581de..0150e3d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ https://observablehq.com/@tmcw/octree-color-quantization inspired by to https://github.com/objectProfessionals/movieMaps ``` -fn test_big_image() -> Result<(), ImageError> { +fn quantize_image() -> Result<(), ImageError> { let src: RgbaImage = image::open("some_image.jpg").unwrap().into_rgba8(); let dest = quantize(&src, 256); dest.save_with_format("output.jpg", image::ImageFormat::Jpeg)?;