Documentation ¶
Index ¶
- func ScrRawToImg(d []byte, mode uint8, p color.Palette) (*image.NRGBA, error)
- func ScrToImg(scrPath string, mode uint8, p color.Palette) (*image.NRGBA, error)
- func ScrToPng(scrPath string, output string, mode uint8, p color.Palette) error
- func ToMode0(in *image.NRGBA, p color.Palette, cfg *config.MartineConfig) []byte
- func ToMode1(in *image.NRGBA, p color.Palette, cfg *config.MartineConfig) []byte
- func ToMode2(in *image.NRGBA, p color.Palette, cfg *config.MartineConfig) []byte
- func WinToImg(path string, mode uint8, p color.Palette) (*image.NRGBA, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScrRawToImg ¶
scrRawToImg will convert the classical OCP screen slice of bytes into image.NRGBA structure using the mode and the palette as arguments
func ScrToImg ¶
SrcToImg load the amstrad classical 17ko screen image to image.NRBGA using the mode and palette as arguments
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.