update readme

pull/67/head
vinhphuctadang 2021-11-14 10:28:36 +07:00
parent 57164b7229
commit 5fe3379ac9
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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