The code still have some accuracy bugs when compaired with its sdlBasic version, since i were getting some problems when recoding it to Python-Gimp.
The script converts a rgb picture into zx-spectrum display limitations, which have a predefined palette, and a maximum of 2 colours in each 8x8 pixels cell, trying to provide this cell as the most close as possible from their rgb original.
As well, the code is a bit slow (a 400x300 picture can take 1 minute) since it processes pixel by pixel.
I'm posting here the code anyway hoping i can fix it soon, or someone could help on it...
Attachment | Size |
---|---|
ZxSp8x8pictFilter_0807312332.py | 4.38 KB |
Recent comments