header

package
v0.0.0-...-e22344b Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Signature string
	Version   uint16
	Reserved  []byte
	Channels  uint16
	Height    uint32
	Width     uint32
	Depth     uint16
	ColorMode string
}

Data contains all header information about the psd file

func NewData

func NewData() *Data

NewData creates and returns a pointer to a new FileHeader struct

func (*Data) Parse

func (fh *Data) Parse(file *os.File) []error

Parse parses the contents of the photoshop file header into a Data struct

func (*Data) Save

func (fh *Data) Save(file *os.File) error

Jump to

Keyboard shortcuts

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