exif

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLens

func GetLens(absolute_path string) (string, error)

GetLens starts a new exiftool instance to retrieve the lens name. A new instance is needed as we pass "NoPrintConversion" to the other exiftool instance, which returns lens names such as "B0 00 50 50 14 14 B2 06" or "50 50 1.8 1.8 6" instead of the desired "AF-S Nikkor 50mm f/1.8G".

func ParseOffsetString

func ParseOffsetString(t string) (float64, error)

ParseOffsetString takes an offset string such as "+2:00" and returns a duration in minutes.

Types

type Conf

type Conf = types.Conf

type Media

type Media = types.Media

func GetImageExif

func GetImageExif(mediatype, relative_path, absolute_path string, et *exiftool.Exiftool, h *geo.Handlers, c Conf) (Media, imaging, error)

GetImageExif returns the exif data of a media item.

type Subject

type Subject = types.Subject

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL