Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetModuleRootPath ¶
func GetModuleRootPath() string
GetModuleRootPath returns the root-path of the module.
func GetTestAssetsPath ¶
func GetTestAssetsPath() string
GetTestAssetsPath returns the path of the test-assets.
func GetTestDataFilepath ¶
func GetTestDataFilepath() string
GetTestDataFilepath returns the file-path of the common test-data.
func ReadPhotoshop30Info ¶
func ReadPhotoshop30Info(r io.Reader) (pirIndex map[uint16]Photoshop30InfoRecord, err error)
ReadPhotoshop30Info parses a sequence of photoship-info records from the stream.
Types ¶
type Photoshop30InfoRecord ¶
type Photoshop30InfoRecord struct { // RecordType is the record-type. RecordType string // ImageResourceId is the image resource-ID. ImageResourceId uint16 // Name is the name of the record. It is optional and will be an empty- // string if not present. Name string // Data is the raw record data. Data []byte }
Photoshop30InfoRecord is the data for one parsed Photoshop-info record.
func ReadPhotoshop30InfoRecord ¶
func ReadPhotoshop30InfoRecord(r io.Reader) (pir Photoshop30InfoRecord, err error)
ReadPhotoshop30InfoRecord parses a single photoshop-info record.
func (Photoshop30InfoRecord) String ¶
func (pir Photoshop30InfoRecord) String() string
String returns a descriptive string.
Click to show internal directories.
Click to hide internal directories.