Documentation
¶
Index ¶
- Constants
- Variables
- func NewModel(name string) xmp.Model
- type ColorLabel
- type Digikam
- func (x Digikam) Can(nsName string) bool
- func (x *Digikam) CanTag(tag string) bool
- func (x *Digikam) GetTag(tag string) (string, error)
- func (x Digikam) Namespaces() xmp.NamespaceList
- func (x *Digikam) SetTag(tag, value string) error
- func (x *Digikam) SyncFromXMP(d *xmp.Document) error
- func (x *Digikam) SyncModel(d *xmp.Document) error
- func (x Digikam) SyncToXMP(d *xmp.Document) error
- type PickLabel
Constants ¶
View Source
const ( NoPickLabel PickLabel = "0" ItemRejected PickLabel = "1" ItemPendingValidation = "2" ItemAccepted = "3" )
Variables ¶
View Source
var (
NsDk = xmp.NewNamespace("digiKam", "http://www.digikam.org/ns/1.0/", NewModel)
)
Functions ¶
Types ¶
type ColorLabel ¶
type ColorLabel string
const ( NoColorLabel ColorLabel = "0" LabelRed ColorLabel = "1" LabelOrange ColorLabel = "2" LabelYellow ColorLabel = "3" LabelGreen ColorLabel = "4" LabelBlue ColorLabel = "5" LabelMagenta ColorLabel = "6" LabelGray ColorLabel = "7" LabelBlack ColorLabel = "8" LabelWhite ColorLabel = "9" )
type Digikam ¶
type Digikam struct { TagsList xmp.StringList `xmp:"digiKam:TagsList"` CaptionsAutorNames xmp.AltString `xmp:"digiKam:CaptionsAutorNames"` CaptionsDateTimeStamps xmp.AltString `xmp:"digiKam:CaptionsDateTimeStamps"` ImageHistory string `xmp:"digiKam:ImageHistory"` ImageUniqueID string `xmp:"digiKam:ImageUniqueID"` LensCorrectionSettings string `xmp:"digiKam:LensCorrectionSettings"` ColorLabel ColorLabel `xmp:"digiKam:ColorLabel"` PickLabel PickLabel `xmp:"digiKam:PickLabel"` }
func (Digikam) Namespaces ¶
func (x Digikam) Namespaces() xmp.NamespaceList
Click to show internal directories.
Click to hide internal directories.