exif

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: BSD-3-Clause Imports: 10 Imported by: 2

Documentation

Overview

Package exif provides methods for manipulating EXIF data in images.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TagIndex added in v1.3.0

func TagIndex(r io.Reader) (*go_exif.IfdIndex, error)

func TagValue added in v1.3.0

func TagValue(r io.Reader, tag_name string, ifds_name string) (*go_exif.IfdTagEntry, error)

func TagValueWithIndex added in v1.3.0

func TagValueWithIndex(index *go_exif.IfdIndex, tag_name string, ifds_name string) (*go_exif.IfdTagEntry, error)

func TagValues added in v1.3.0

func TagValues(r io.Reader, tag_name string, require_ifd ...string) (map[string]*go_exif.IfdTagEntry, error)

func TagValuesWithIndex added in v1.3.0

func TagValuesWithIndex(index *go_exif.IfdIndex, tag_name string, require_ifd ...string) (map[string]*go_exif.IfdTagEntry, error)

func UpdateExif

func UpdateExif(im image.Image, wr io.Writer, exif_props map[string]interface{}) error

UpdateExif will encode 'im' as a JPEG image and write it to a temporary file and then copy that (temporary) file to 'wr' with EXIF properties defined by 'exif_props'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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