Documentation ¶
Overview ¶
Package goexiftool is a very simple wrapper around the excellent exiftool (http://www.sno.phy.queensu.ca/~phil/exiftool/).
Index ¶
- type MediaFile
- func (m *MediaFile) AnalyzeMetadata(args []string) (err error)
- func (m *MediaFile) Get(tagLabel string) (tagValue string, err error)
- func (m *MediaFile) GetCamera() (camera string, err error)
- func (m *MediaFile) GetDate() (date time.Time, err error)
- func (m *MediaFile) GetLens() (lens string, err error)
- func (m *MediaFile) IsGeoTagged() (isGeoTagged bool)
- func (m *MediaFile) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MediaFile ¶
MediaFile holds all the metadata provided by exiftool in a map
func NewMediaFile ¶
NewMediaFile initializes a MediaFile and parses its metadata with exiftool.
func (*MediaFile) AnalyzeMetadata ¶
AnalyzeMetadata calls exiftool on the file and parses its output.
func (*MediaFile) Get ¶
Get an exiftool value. exiftool has its own entry names, sometimes aggregating several exif/xmp/iptc tags.
func (*MediaFile) IsGeoTagged ¶
IsGeoTagged returns if GPS data is found.
Click to show internal directories.
Click to hide internal directories.