Documentation ¶
Overview ¶
Package exif provides a go interface for exiftool.
Index ¶
Constants ¶
View Source
const EXIFTOOL = "exiftool"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Exif ¶
type Exif struct {
// contains filtered or unexported fields
}
func Decode ¶
Decode can be used for unnamed files, for example STDIN. It loads the exif data from the file given.
func Load ¶
Load creates a new Exif object, populated with the exif data of the file at the path given. It will silently fail if any errors are encountered.
func New ¶
func New() *Exif
New creates an empty Exif object. To initialize with the exif data of an existing image use Load.
func (Exif) Save ¶
Save will write the changed (and only the changed) exif data to the path that was initially given.
Click to show internal directories.
Click to hide internal directories.