A86: Grayscale idea


[Prev][Next][Index][Thread]

A86: Grayscale idea




A suggestion.

As it is right now, my image converter WinBG 
outputs a program file (86p) that can be run on
the calc directly. The loader and the image data 
is in the same file. This is far from ideal. 

Would anyone be interested in writing an on-calc
loader or include one in a shell if i include support
for a new grayscale RLE-compressed or 
uncompressed picture format for 2 and 3 bit 
images saved as strings.

The converter could easily be used to produce 
128x64 pics, for the 86 and 85, and 96x64 pics
for the 82 and 83.

It would be cool if it was included into a shell 
where image files could be marked somehow, for
example by appending ".lbm" (Layered Bitmap) to 
the varname.

A preliminary format suggestion:

byte offset    contents
-----------------------------------------------------------------------------
0..2               "LBM"
3                   number of layers (2 or 3)
4                   display dims (128x64) or (96x64)
5                   data type byte (RLE or Normal)
6                   uncompressed length (could be calculated)
7..n               image data 
-----------------------------------------------------------------------------

It could be more advanced but this is only a 
suggestion.

Those interested (and capable) could receive a 
beta of the prog and the source i use for the 
current  loader.

If you have any ideas, suggestions or questions,
please post them, that is why i wrote this.

/ Thomas Bladh (tiberius@swipnet.se)







Follow-Ups: