t32

package
v0.0.0-...-0ffb35d Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPath

func FromPath(t32 *T32, filePath string) error

func FromPathWithOffset

func FromPathWithOffset(t32 *T32, filePath string, offset uint32) error

func T32ToImage

func T32ToImage(t32 *T32) *image.NRGBA

Types

type T32

type T32 struct {
	Offset      uint32 `json:"offset"`
	ImageWidth  uint16 `json:"image_width"`
	ImageHeight uint16 `json:"image_height"`
	ImageData   []byte
	ClutData    []*color.RGBA
}

func New

func New() *T32

Jump to

Keyboard shortcuts

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