extract

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GPSInfoFromDir

func GPSInfoFromDir(folderPath string, exifLib exif.ReaderType, includeHiddenFiles bool) (map[string]*exif.GpsInfo, error)

GPSInfoFromDir return a map containing GPS EXIF information of all elibile image files in a directory

func GPSInfoFromFile

func GPSInfoFromFile(filePath string, exifLib exif.ReaderType) (*exif.GpsInfo, error)

GPSInfoFromFile return exif.GpsInfo from a given image file

func GetFilesInDir

func GetFilesInDir(walkOptions *WalkOptions) ([]string, error)

GetFilesInDir recursively walk over a given directory and return all image files

Types

type WalkOptions

type WalkOptions struct {
	SourceDir          string
	IncludeHiddenFiles bool
}

WalkOptions configuration options for generating file list

Jump to

Keyboard shortcuts

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