Versions in this module Expand all Collapse all v1 v1.0.0 Jun 21, 2017 Changes in this version + const DTAscii + const DTByte + const DTDouble + const DTFloat + const DTLong + const DTRational + const DTSByte + const DTSLong + const DTSRational + const DTSShort + const DTShort + const DTUndefined + var ErrShortReadTagValue = errors.New("tiff: short read of tag value") + type DataType uint16 + type Dir struct + Tags []*Tag + func DecodeDir(r ReadAtReader, order binary.ByteOrder) (d *Dir, offset int32, err error) + func (d *Dir) String() string + type Format int + const FloatVal + const IntVal + const OtherVal + const RatVal + const StringVal + const UndefVal + type ReadAtReader interface + type ReadAtReaderSeeker interface + type Tag struct + Count uint32 + Id uint16 + Type DataType + Val []byte + ValOffset uint32 + func DecodeTag(r ReadAtReader, order binary.ByteOrder) (*Tag, error) + func (t *Tag) Float(i int) (float64, error) + func (t *Tag) Format() Format + func (t *Tag) Int(i int) (int, error) + func (t *Tag) Int64(i int) (int64, error) + func (t *Tag) MarshalJSON() ([]byte, error) + func (t *Tag) Rat(i int) (*big.Rat, error) + func (t *Tag) Rat2(i int) (num, den int64, err error) + func (t *Tag) String() string + func (t *Tag) StringVal() (string, error) + type Tiff struct + Dirs []*Dir + Order binary.ByteOrder + func Decode(r ReadAtReaderSeeker) (*Tiff, error) + func (tf *Tiff) String() string