mirror of https://github.com/dsoprea/go-exif.git
update readme
parent
57164b7229
commit
5fe3379ac9
|
@ -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.
|
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
|
# Getting
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,7 @@ func GetAllExifData(imageData []byte, so *ScanOptions, maxBlock int) (exifTags [
|
||||||
// help find next EXIF without searching from start
|
// help find next EXIF without searching from start
|
||||||
imageData = exifData[ExifSignatureLength:]
|
imageData = exifData[ExifSignatureLength:]
|
||||||
|
|
||||||
entries, _, err := GetFlatExifDataUniversalSearch(exifData, so, true)
|
entries, _, err := GetFlatExifDataUniversalSearch(exifData, so, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if log.Is(err, io.EOF) || log.Is(err, io.ErrUnexpectedEOF) {
|
if log.Is(err, io.EOF) || log.Is(err, io.ErrUnexpectedEOF) {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue