2020-01-07 17:36:49 +01:00
|
|
|
package meta
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2020-01-07 18:13:53 +01:00
|
|
|
// Data represents image meta data.
|
2020-01-07 17:36:49 +01:00
|
|
|
type Data struct {
|
2020-01-23 09:50:43 +01:00
|
|
|
UniqueID string
|
2020-01-07 17:36:49 +01:00
|
|
|
TakenAt time.Time
|
|
|
|
TakenAtLocal time.Time
|
|
|
|
TimeZone string
|
2020-01-13 23:14:10 +01:00
|
|
|
Title string
|
2020-02-07 14:40:06 +01:00
|
|
|
Subject string
|
|
|
|
Keywords string
|
|
|
|
Comment string
|
2020-01-07 17:36:49 +01:00
|
|
|
Artist string
|
2020-01-13 23:14:10 +01:00
|
|
|
Description string
|
2020-01-07 17:36:49 +01:00
|
|
|
Copyright string
|
|
|
|
CameraMake string
|
|
|
|
CameraModel string
|
2020-02-07 14:40:06 +01:00
|
|
|
CameraOwner string
|
|
|
|
CameraSerial string
|
2020-01-07 17:36:49 +01:00
|
|
|
LensMake string
|
|
|
|
LensModel string
|
|
|
|
Flash bool
|
|
|
|
FocalLength int
|
|
|
|
Exposure string
|
2020-01-15 19:59:25 +01:00
|
|
|
Aperture float64
|
|
|
|
FNumber float64
|
|
|
|
Iso int
|
|
|
|
Lat float64
|
|
|
|
Lng float64
|
|
|
|
Altitude int
|
|
|
|
Width int
|
|
|
|
Height int
|
|
|
|
Orientation int
|
|
|
|
All map[string]string
|
2020-01-07 17:36:49 +01:00
|
|
|
}
|