header

package
v0.0.0-...-381b904 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateTime

type DateTime struct {
	Year    uint16
	Month   uint16
	Day     uint16
	Hours   uint16
	Minutes uint16
	Seconds uint16
}

func NewDateTime

func NewDateTime() *DateTime

func (*DateTime) Parse

func (dateTime *DateTime) Parse(file *os.File)
type Header struct {
	Size            uint32
	Cmmid           string
	Version         uint32
	DeviceClass     string
	ColorSpace      string
	Pcs             string
	DateTime        *DateTime
	Magic           string
	Platform        string
	Flags           uint32
	Manufacturer    string
	Model           uint32
	Attributes      uint64
	RenderingIntent uint32
	Illuminant      *Vec3_32
	Creator         string
	ProfileId       []byte
	Reserved        []byte
}

func NewHeader

func NewHeader() *Header

func (*Header) GetFullname

func (header *Header) GetFullname(field string) string

func (*Header) Parse

func (header *Header) Parse(file *os.File)

type Vec3_32

type Vec3_32 struct {
	X uint32
	Y uint32
	Z uint32
}

func NewVec3_32

func NewVec3_32() *Vec3_32

func (*Vec3_32) Parse

func (vec3_32 *Vec3_32) Parse(file *os.File)

Jump to

Keyboard shortcuts

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