mirror of
https://github.com/dsoprea/go-exif.git
synced 2025-04-28 13:51:38 +00:00
ifd_enumerate.go: PrintTagTree now skips the thumbnail tags
It prints a lot of noise when this does actually relate to saving the thumbnail image.
This commit is contained in:
parent
7f6eb3d9f3
commit
998844ba08
@ -662,6 +662,12 @@ func (ifd *Ifd) printTagTree(populateValues bool, index, level int, nextLink boo
|
||||
if ite.ChildIfdPath() != "" {
|
||||
fmt.Printf("%s - TAG: %s\n", indent, ite)
|
||||
} else {
|
||||
// This will just add noise to the output (byte-tags are fully
|
||||
// dumped).
|
||||
if ite.IsThumbnailOffset() == true || ite.IsThumbnailSize() == true {
|
||||
continue
|
||||
}
|
||||
|
||||
it, err := ifd.tagIndex.Get(ifd.IfdPath, ite.TagId())
|
||||
|
||||
tagName := ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user