Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReferenceOsKeyBlock ¶
func NewReferenceOsKeyBlock() *referenceOsKeyBlock
Types ¶
type Descriptor ¶
type Descriptor struct { Version uint32 UnicodeString string ClassID string ItemCount uint32 Items []*descriptorItem }
Descriptor block in an image resource
func (*Descriptor) GetTypeID ¶
func (descriptor *Descriptor) GetTypeID() int
func (*Descriptor) Parse ¶
func (descriptor *Descriptor) Parse(file *os.File)
Parse parses data from a descriptor block in a PSD file into a premade descriptor
type EnumReference ¶
func NewEnumReference ¶
func NewEnumReference() *EnumReference
func (*EnumReference) Parse ¶
func (enumReference *EnumReference) Parse(file *os.File)
type List ¶
type List struct { NumItems uint32 Items []OsKeyBlock }
List is defined here to prevent cyclic imports to types.go
type OsKeyBlock ¶
type OsKeyBlock interface {
// contains filtered or unexported methods
}
type Property ¶
func NewProperty ¶
func NewProperty() *Property
type Reference ¶
type Reference struct { ItemCount uint32 ReferenceItems []*ReferenceItem }
func NewReference ¶
func NewReference() *Reference
type ReferenceItem ¶
type ReferenceItem struct { OsTypeKey string OsKeyBlock referenceOsKeyBlock }
func (*ReferenceItem) Parse ¶
func (referenceItem *ReferenceItem) Parse(file *os.File)
Click to show internal directories.
Click to hide internal directories.