Browse Source

Update 'parser/exif.go'

Signed-off-by: gryffyn <me@neveris.one>
main
gryffyn 3 months ago
parent
commit
78bbba7de3
Signed by: git.ni.o GPG Key ID: C1F89202CD2B9398
  1. 1
      parser/exif.go

1
parser/exif.go

@ -45,6 +45,7 @@ func (w *walker) Walk(name goexif.FieldName, tag *tiff.Tag) error {
// Extracts the exif data from the file, then parses it into tags.
func (e *Exif) Parse() error {
x, err := goexif.Decode(e.File)
if err != nil {return err}
walker := walker{ed: x, Tags: Tags{}}
err = x.Walk(&walker)
e.Tags = walker.Tags

Loading…
Cancel
Save