consts

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagPalette = "palette"

	TilesPerRow  = 16
	TileSize     = 8
	BytesPerTile = 16

	ImageWidth = TilesPerRow * TileSize
)

Variables

View Source
var ErrInvalidPalette = errors.New("palette must contain 4 hex colors")

Functions

func LoadPalette

func LoadPalette(cmd *cobra.Command) (color.Palette, error)

func PaletteFlag

func PaletteFlag(fs *pflag.FlagSet)

Types

This section is empty.

Jump to

Keyboard shortcuts

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