effect

package
v0.0.0-...-d974ece Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: GPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoEgx1

func AutoEgx1(in image.Image,
	cfg *config.MartineConfig,
	filename, picturePath string) error

func AutoEgx2

func AutoEgx2(in image.Image,
	cfg *config.MartineConfig,
	filename, picturePath string) error

func AutoFlash

func AutoFlash(in image.Image,
	cfg *config.MartineConfig,
	filename, picturePath string,
	mode int,
	screenMode uint8) error

nolint: funlen

func DoSpliteRaster

func DoSpliteRaster(in image.Image, screenMode uint8, filename string, cfg *config.MartineConfig) error

func Egx

func Egx(filepath1, filepath2 string, p color.Palette, m1, m2 int, cfg *config.MartineConfig) error

nolint: funlen, gocognit

func EgxRaw

func EgxRaw(img1, img2 []byte, p color.Palette, mode1, mode2 int, cfg *config.MartineConfig) ([]byte, color.Palette, int, error)

nolint: funlen, gocognit

func Flash

func Flash(filepath1, filepath2, palpath1, palpath2 string, m1, m2 int, cfg *config.MartineConfig) error

func SetCpcOldSplitRaster

func SetCpcOldSplitRaster(in *image.NRGBA, out *image.NRGBA, p color.Palette, s *constants.SplitRasterScreen, pos, y, length int) *constants.SplitRasterScreen

func ToEgx1

func ToEgx1(inMode0, inMode1 *image.NRGBA, p color.Palette, firstLineMode uint8, picturePath string, cfg *config.MartineConfig) error

func ToEgx1Raw

func ToEgx1Raw(inMode0, inMode1 *image.NRGBA, p color.Palette, firstLineMode uint8, cfg *config.MartineConfig) ([]byte, color.Palette)

nolint: funlen

func ToEgx2

func ToEgx2(inMode1, inMode2 *image.NRGBA, p color.Palette, firstLineMode uint8, picturePath string, cfg *config.MartineConfig) error

func ToEgx2Raw

func ToEgx2Raw(inMode1, inMode2 *image.NRGBA, p color.Palette, firstLineMode uint8, cfg *config.MartineConfig) ([]byte, color.Palette)

nolint: funlen, gocognit

func ToSplitRasterCPCOld

func ToSplitRasterCPCOld(in image.Image, screenMode uint8, filename string, cfg *config.MartineConfig) (color.Palette, []byte, *constants.SplitRasterScreen, error)

nolint: funlen, gocognit

Types

This section is empty.

Jump to

Keyboard shortcuts

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