Documentation ¶
Index ¶
- Constants
- type ExifError
- type Image
- func (f *Image) Close() error
- func (f *Image) GetDescription() string
- func (f *Image) GetRootIb() *exif.IfdBuilder
- func (f *Image) GetTagValueString(tag string) string
- func (f *Image) GetTime() time.Time
- func (f *Image) SetDescription(description string) error
- func (f *Image) SetGPS(latitude, longitude float64) error
- func (f *Image) SetTagValueString(tag, val string) error
- func (f *Image) SetTime(date time.Time) error
Constants ¶
View Source
const ( ImageDescriptionTag = "ImageDescription" DateTimeTag = "DateTime" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func Open ¶
Open creates a new Image struct, initializes the EXIF data, and returns the struct Image
func (*Image) GetDescription ¶
GetDescription returns the description of the image.
func (*Image) GetRootIb ¶
func (f *Image) GetRootIb() *exif.IfdBuilder
GetRootIb is a getter for the rootIb.
func (*Image) GetTagValueString ¶
GetTagValueString returns the value of tag. the method works only for string value
func (*Image) SetDescription ¶
SetDescription sets the description of the image.
func (*Image) SetTagValueString ¶
SetTagValueString sets the value of the given tag. the method sets string value for tag
Click to show internal directories.
Click to hide internal directories.