4 Commits

Author SHA1 Message Date
Dustin Oprea
d42f8ce9cd tags.go: Add 'universal tags' support
- This will allow tags to be matched from any IFD if not found in the
  primary and to go with whatever type is encoded into the tag even if
  it disagrees with what is officially supported.

Supports https://github.com/dsoprea/go-exif/issues/53
2021-01-31 17:56:44 -05:00
Dustin Oprea
0d9ceeb35b exif.go: Add support for seeking to multiple EXIF blobs (SearchAndExtractExifN)
- ifd_enumerate.go
  - Bugfixes for various broken log messages.
  - Bugfix for ErrTagNotFound not actually skipping.

- common/parser.go: Parsing ASCII now panics if there's binary (8-bit)
  characters.
  - utility.go: GetFlatExifData() just logs and skips these.

- exif.go: Add searchAndExtractExifWithReaderWithDiscarded(), to return
  how many bytes it seeks through.

Supports https://github.com/dsoprea/go-exif/issues/53
2021-01-31 17:15:48 -05:00
Dustin Oprea
f93c06e0d6 v3: Fix import naming glitch 2020-07-16 21:33:45 -04:00
Dustin Oprea
dcd29a9733 backwards incompatible: Move exif-read-tool to command/
Per standard practice.
2020-07-11 13:15:18 -04:00