If you wish, you could use the conversion algorithms that I designed for GrafX2 and which are available in the Zip file of >>
this message<<.
From what I can see, this tool generates a list of basic instruction to draw the picture via PSET and LINE instructions. Is it fast to display ?
I think that there might be a bug in the produced BASIC code for pictures in 320x200 16colors. Adjacent pixels of consecutive colors should alternate positive and negative values to switch between background and foreground colors, otherwise you'd get color clashes (the last plot color will bleed onto the previous ones.) Eg I mean things like:
Code:
23971 PSET (226,191),0
23972 PSET (227,191),3
23973 PSET (228,191),0
23974 LINE (229,191)-(231,191),3
23975 PSET (232,191),9
23976 PSET (233,191),6
23977 PSET (234,191),9
23978 PSET (235,191),6
shoud be coded as
Code:
23971 PSET (226,191),-1
23972 PSET (227,191),3
23973 PSET (228,191),-1
23974 LINE (229,191)-(231,191),3
23975 PSET (232,191),-10
23976 PSET (233,191),6
23977 PSET (234,191),-10
23978 PSET (235,191),6
for 320x200x16 color mode.
I also noticed an issue with the SAVEP line:
Code:
24659 DIM IM%(3000): SAVEP"www",IM%(3000)
It misses a GET(0,0)-(40,25),IM%(3000) instruction before the SAVEP instruction otherwise the saved file will not contain the picture.