ibootim

package
v0.0.0-prerelease Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 10 Imported by: 0

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 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
}

type IBootIm

type IBootIm struct {
	Header

	Data []byte
}

func (IBootIm) String

func (i IBootIm) String() string

type IBootIms

type IBootIms struct {
	Images []*IBootIm
	// contains filtered or unexported fields
}

func Open

func Open(filename string) (*IBootIms, error)

func Parse

func Parse(r io.ReadSeeker) (*IBootIms, error)

func (*IBootIms) Close

func (i *IBootIms) Close() error

func (*IBootIms) String

func (ibm *IBootIms) String() string

func (*IBootIms) ToPNG

func (ibm *IBootIms) ToPNG(baseName, outDir string) ([]string, error)

Jump to

Keyboard shortcuts

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