Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
vitali-fedulov authored Feb 7, 2024
1 parent f3149f1 commit f840cec
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f840cec

Please sign in to comment.