mirror of https://github.com/dsoprea/go-exif.git
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.dustin/add_skipped_tags_tracking
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…
Reference in New Issue