tim3

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: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Signature uint32 = 0x334D4954
)

Variables

This section is empty.

Functions

func FromPath

func FromPath(tim *Tim3, filePath string) error

func FromPathWithOffset

func FromPathWithOffset(tim *Tim3, filePath string, offset uint32) error

func ImagePalettedToFile

func ImagePalettedToFile(img *image.Paletted, bpp uint, output *os.File) error

func PictureToImage

func PictureToImage(picture *tim2.Picture) *image.NRGBA

Types

type Tim3

type Tim3 struct {
	Offset        uint32             `json:"offset"`
	FormatVersion tim2.FormatVersion `json:"format_version"`
	FormatId      tim2.FormatId      `json:"format_id"`
	PictureTotal  uint16             `json:"picture_total"`
	Pictures      []*tim2.Picture    `json:"pictures"`
}

func New

func New() *Tim3

Jump to

Keyboard shortcuts

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