photoprism/internal/meta/data.go
Michael Mayer c13e39e6d1 Backend: Add fields to Meta.Data struct #243
Added: Subject, Keywords, Comment, CameraOwner and CameraSerial

Todo: Read values from Exif.Image.XPTitle, XPSubject, XPKeywords,...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-07 14:40:06 +01:00

39 lines
722 B
Go

package meta
import (
"time"
)
// Data represents image meta data.
type Data struct {
UniqueID string
TakenAt time.Time
TakenAtLocal time.Time
TimeZone string
Title string
Subject string
Keywords string
Comment string
Artist string
Description string
Copyright string
CameraMake string
CameraModel string
CameraOwner string
CameraSerial string
LensMake string
LensModel string
Flash bool
FocalLength int
Exposure string
Aperture float64
FNumber float64
Iso int
Lat float64
Lng float64
Altitude int
Width int
Height int
Orientation int
All map[string]string
}