header

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IntelByteOrder    = 0x4949
	MotorolaByteOrder = 0x4D4D

	TiffMagicNumberBigEndian    = 0x002A
	TiffMagicNumberLittleEndian = 0x2A00
	OrfMagicNumberBigEndian     = 0x4F52
	OrfMagicNumberLittleEndian  = 0x524F

	ExifOffsetId = 0x8769
)

Variables

This section is empty.

Functions

func ParseCreatedAt

func ParseCreatedAt(path string) (time.Time, error)

Types

type ErrNotFound

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

func (ErrNotFound) Error

func (e ErrNotFound) Error() string

type Tag

type Tag struct {
	ID       uint16
	DataType uint16
	Length   uint32
	Value    uint32 // value of the entry or byte offset to read the value from, depending on the DataType and Length
}

Tag represents an IFD entry (aka Tag)

Jump to

Keyboard shortcuts

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