MegaPaint file format
Jump to navigation
Jump to search
MegaPaint *.BLD
1 word image width in pixels [if negative, file is compressed]
1 word image height in pixels
-------
4 bytes total for header
?? monochrome image data [max. 1440x1856]
uncompressed size = ((width+7)/8)*height
Compression scheme:
For a given control byte 'n':
n = 0 : use the next byte + 1 times and repeat 0
n = 255 : use the next byte + 1 times and repeat 255
n>0 and n<255 : output n (literal)
Back to ST Picture Formats