Exif: Extract creation time from DateTimeCreated, if available #2513
Exiftool also seems to be able to extract the compound DateTimeCreated tag. Adding this tag increases the likelihood that you will get a valid date for a photo.
This commit is contained in:
parent
372ccb9a29
commit
c366d75774
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ import (
|
|||
var exifIfdMapping *exifcommon.IfdMapping
|
||||
var exifTagIndex = exif.NewTagIndex()
|
||||
var exifMutex = sync.Mutex{}
|
||||
var exifDateTimeTags = []string{"DateTimeOriginal", "DateTimeDigitized", "CreateDate", "DateTime"}
|
||||
var exifDateTimeTags = []string{"DateTimeOriginal", "DateTimeDigitized", "CreateDate", "DateTime", "DateTimeCreated"}
|
||||
var exifSubSecTags = []string{"SubSecTimeOriginal", "SubSecTimeDigitized", "SubSecTime"}
|
||||
|
||||
func init() {
|
||||
|
|
Loading…
Reference in a new issue