From 5fe3379ac924fa9c5f22ba7e1b27a2800c1bee0f Mon Sep 17 00:00:00 2001 From: vinhphuctadang Date: Sun, 14 Nov 2021 10:28:36 +0700 Subject: [PATCH] update readme --- README.md | 3 +++ v3/utility.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 972d584..677d954 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ This package provides native Go functionality to parse an existing EXIF block, update an existing EXIF block, or add a new EXIF block. +**Disclaimer**: Original repository is at https://github.com/dsoprea/go-exif, this is my custom clone verison that investigate somethings about the repo as well as adding some ultility to the function. Feel free to clone !!! + +Following instruction is from the author of this repository: # Getting diff --git a/v3/utility.go b/v3/utility.go index cd4b058..bc00152 100644 --- a/v3/utility.go +++ b/v3/utility.go @@ -117,7 +117,7 @@ func GetAllExifData(imageData []byte, so *ScanOptions, maxBlock int) (exifTags [ // help find next EXIF without searching from start imageData = exifData[ExifSignatureLength:] - entries, _, err := GetFlatExifDataUniversalSearch(exifData, so, true) + entries, _, err := GetFlatExifDataUniversalSearch(exifData, so, false) if err != nil { if log.Is(err, io.EOF) || log.Is(err, io.ErrUnexpectedEOF) { continue