Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Magic = [8]byte{'i', 'B', 'o', 'o', 't', 'I', 'm', 0}
Functions ¶
This section is empty.
Types ¶
type ColorSpace ¶
type ColorSpace uint32
const ( ColorSpaceGrayscale ColorSpace = 0x67726579 // 'grey' ColorSpaceArgb ColorSpace = 0x61726762 // 'argb' )
func (ColorSpace) String ¶
func (c ColorSpace) String() string
type CompressionType ¶
type CompressionType uint32
const (
CompressionTypeLzss CompressionType = 0x6C7A7373 // 'lzss'
)
func (CompressionType) String ¶
func (t CompressionType) String() string
type Header ¶
type Header struct {
Magic [8]byte
Adler uint32
CompressionType CompressionType
ColorSpace ColorSpace
Width uint16
Height uint16
OffsetX int16
OffsetY int16
CompressedSize uint32
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.