From f840cec799ce02a7cb68192691e1866a7287eb31 Mon Sep 17 00:00:00 2001 From: Vitali Fedulov Date: Wed, 7 Feb 2024 21:34:43 +0100 Subject: [PATCH] - --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3cb3823..fcae63b 100644 --- a/README.md +++ b/README.md @@ -49,13 +49,9 @@ const ( func main() { - // Paths to photos. - path1 := "1.jpg" - path2 := "2.jpg" - - // Open photos (skipping error handling for clarity). - img1, _ := images4.Open(path1) - img2, _ := images4.Open(path2) + // Open and decode photos (skipping error handling for clarity). + img1, _ := images4.Open("1.jpg") + img2, _ := images4.Open("2.jpg") // Icons are compact image representations needed for comparison. icon1 := images4.Icon(img1)