goexiv

package module
v0.0.0-...-44f56aa Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2013 License: MIT Imports: 3 Imported by: 0

README

Go bindings for exiv2 (http://www.exiv2.org)

Those bindings are at the moment (very) incomplete, but already allow you to
read the metadata of a file, and get the EXIF fields out of it. Binding coverage
will be extended as I start needing more methods (or receiving more pull
requests :) ).

Note: Because Exiv2 is a C++ library, you probably need Go 1.2 to benefit from
the improved C++ support in CGO.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

func (*Error) Code

func (e *Error) Code() int

func (*Error) Error

func (e *Error) Error() string

type ExifData

type ExifData struct {
	// contains filtered or unexported fields
}

func (*ExifData) FindKey

func (d *ExifData) FindKey(key string) (*ExifDatum, error)

type ExifDatum

type ExifDatum struct {
	// contains filtered or unexported fields
}

func (*ExifDatum) String

func (d *ExifDatum) String() string

type Image

type Image struct {
	// contains filtered or unexported fields
}

func Open

func Open(path string) (*Image, error)

func (*Image) GetExifData

func (i *Image) GetExifData() *ExifData

func (*Image) ReadMetadata

func (i *Image) ReadMetadata() error

Jump to

Keyboard shortcuts

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