layerandmask

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADLIDataBlock

type ADLIDataBlock interface {
	GetTypeID() string
}

type AdditionalLayerInformation

type AdditionalLayerInformation struct {
	Signature  string
	Key        string
	DataLength uint32
	Data       ADLIDataBlock
}

type Data

type Data struct {
	Length                     uint32
	LayerInfo                  *layerinfo.LayerInfo
	GlobalLayerMaskInfo        *GlobalLayerMaskInfo
	AdditionalLayerInformation *additionalinfo.AdditionalInfo
}

Data contains the photoshop files layers and their respective masks

func NewData

func NewData() *Data

func (*Data) Parse

func (layerandmaskobject *Data) Parse(file *os.File)

type GlobalLayerMaskInfo

type GlobalLayerMaskInfo struct {
	Length            uint32
	OverlayColorSpace uint16
	ByteCompOne       uint16
	ByteCompTwo       uint16
	Opacity           uint16
	Kind              int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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