Module cpclib::image

source ·
Expand description

CPC Image manipulation. Useable.

Structs

A ColorMatrix represents an image through a list of Inks. It has no real meaning in CPC world but can be used for image transformaton There is no mode information
Simple multimode sprite where each line can have its own resolution mode The palette is assumed to be the same on all the lines
A Sprite corresponds to a set of bytes encoded to the right CPC pixel format for a given palette. TODO Check why mode nad palette are optionnals. Force them if it is not mandatory to have htem optionnal

Enums

Conversion rules
Screen mode