Documentation
¶
Overview ¶
Package exif registers a handler of the EXIF metadata of JPEG images, such as the camera, the exposure, when the photo was taken and where, as the tiff and exif namespaces, which uses libexif, so needs cgo
Index ¶
Constants ¶
const ( // The namespaces of the tags (see the exif package) TIFFNamespace = exif.TIFFNamespace EXIFNamespace = exif.EXIFNamespace // GPSPosition is the key of the GPS position of a photo, a geo.LatLong, // which replaces the tags of its latitude, longitude and altitude GPSPosition = "GPSPosition" )
Variables ¶
This section is empty.
Functions ¶
func PositionHints ¶ added in v1.0.6
PositionHints returns the hint of an image's place, metadata.HintGeo, when its metadata has a position, such as the GPS position of its EXIF or XMP metadata, or none
func TagsMetadata ¶
TagsMetadata returns the metadata of the EXIF tags, in their order, as libexif formats them, such as "f/2.8", without the spaces cameras pad them with, or tags which are empty: a tag of a single rational is also a number, a date and time is a time with its UTC offset, without the tag of the offset, or none when it's unknown, and the latitude, longitude and altitude are a position, exif:GPSPosition, without their tags. The time the photo was taken, or failing that digitized or the file changed, is dc:date, and the position is dc:coverage.
Types ¶
This section is empty.