Support Windows and MacOS platforms by PROger4ever · Pull Request #7 · barasher/go-exiftool (original) (raw)
The problem has been reproduced in MacOS Catalina 10.15.7.
Exiftool version:
MacOS Package: ExifTool-12.07.dmg (3.0 MB)
if !e.scanMergedOut.Scan() {
fms[i].Err = fmt.Errorf("nothing on stdMergedOut")
continue
}
I use the sample code:
`
et, err := exiftool.NewExiftool()
if err != nil {
fmt.Printf("Error when intializing: %v\n", err)
return
}
defer et.Close()
fileInfos := et.ExtractMetadata(imagefile, imagefile)
for _, fileInfo := range fileInfos {
if fileInfo.Err != nil {
fmt.Printf("Error concerning %v: %v\n", fileInfo.File, fileInfo.Err)
continue
}
for k, v := range fileInfo.Fields {
fmt.Printf("[%v] %v\n", k, v)
}
}`