Versions in this module Expand all Collapse all v1 v1.0.1 Jan 18, 2023 v1.0.0 Jan 13, 2023 Changes in this version + const TimeFormat + const TypeAscii + const TypeByte + const TypeDouble + const TypeFloat + const TypeLong + const TypeRational + const TypeSByte + const TypeSLong + const TypeSRational + const TypeSShort + const TypeShort + const TypeUndef + var ErrCorruptHeader = errors.New("exif: corrupt header") + var ErrDecode = errors.New("exif: jpeg decode error") + var ErrEmpty = errors.New("exif: nothing to encode") + var ErrEncode = errors.New("exif: jpeg encode error") + var ErrMissingDir = errors.New("exif: missing IFD dir") + var ErrMissingTag = errors.New("exif: tag missing from dir") + var ErrNoThumbnail = errors.New("exif: no thumbnail") + var ErrThumbnailTooBig = errors.New("exif: thumbnail too big") + var ErrTooLong = errors.New("exif: encoded length too long") + var NotFound = errors.New("exif: exif data not found") + func Copy(w io.Writer, r io.Reader, x *Exif) error + func IsFormat(err error) bool + type Ascii string + type Byte []byte + type Entry struct + Count uint32 + Tag uint16 + Type uint16 + Value []byte + func (e *Entry) SetValue(bo binary.ByteOrder, v Value) + type Exif struct + Exif []Entry + GPS []Entry + IFD0 []Entry + IFD1 []Entry + Interop []Entry + Thumb []byte + func Decode(r io.Reader) (*Exif, error) + func DecodeBytes(p []byte) (*Exif, error) + func New(dx, dy int) *Exif + func (x *Exif) DateTime() (t time.Time, ok bool) + func (x *Exif) EncodeBytes() ([]byte, error) + func (x *Exif) GPSInfo() (i GPSInfo, ok bool) + func (x *Exif) LatLong() (lat, long float64, ok bool) + func (x *Exif) Set(t uint32, v Value) + func (x *Exif) SetDateTime(t time.Time) + func (x *Exif) SetGPSInfo(i GPSInfo) + func (x *Exif) SetLatLong(lat, long float64) + func (x *Exif) SetThumbImage(im image.Image) error + func (x *Exif) Tag(t uint32) *Tag + func (x *Exif) ThumbImage() (image.Image, string, error) + func (x *Exif) Time(timeTag, subSecTag uint32) (t time.Time, islocal, ok bool) + type FormatError []string + func (e FormatError) Error() string + type Formatter struct + func (f *Formatter) RawValue(typ uint16, cnt uint32, p []byte) string + func (f *Formatter) Value(typ uint16, count uint32, p []byte) string + type GPSInfo struct + Alt struct{ ... } + Lat float64 + Long float64 + Time time.Time + Version []byte + type Long []uint32 + type Rational []uint32 + func Sexagesimal(v uint64, res uint32) Rational + func (r Rational) Sexagesimal(res uint32) (hi, lo uint64, ok bool) + type Short []uint16 + type Tag struct + E Entry + func (t *Tag) Ascii() (s string, ok bool) + func (t *Tag) Byte() []byte + func (t *Tag) IsType(typ uint16) bool + func (t *Tag) Long() []uint32 + func (t *Tag) Rational() Rational + func (t *Tag) SLong() []int32 + func (t *Tag) SRational() (numdenom []int32) + func (t *Tag) Short() []uint16 + func (t *Tag) String() string + func (t *Tag) Type() uint16 + func (t *Tag) Undef() []byte + func (t *Tag) Valid() bool + type Undef []byte + type Value interface