overscan

package
v0.0.0-...-ad86b82 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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OverscanRawToImg

func OverscanRawToImg(d []byte, mode uint8, p color.Palette) (*image.NRGBA, error)

overscanRawToImg will convert fullscreen amstrad screen slice of bytes in image.NRGBA using the screen mode and the palette as arguments

func OverscanToImg

func OverscanToImg(scrPath string, mode uint8, p color.Palette) (*image.NRGBA, error)

overscanToImg will convert fullscreen amstrad screen filepath 'srcPath' in image.NRGBA using the screen mode and the palette as arguments

func OverscanToPng

func OverscanToPng(scrPath string, output string, mode uint8, p color.Palette) error

overscanToPng will convert fullscreen amstrad screen filepath in png file 'output' using the screen mode and the palette as arguments

func ToGo

func ToGo(data []byte, screenMode uint8, p color.Palette, cfg *config.MartineConfig) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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