Difference between revisions of "MegaPaint file format"
(New page) |
m (2 revisions imported) |
| (One intermediate revision by one other user not shown) | |
(No difference)
| |
Latest revision as of 01:00, 4 June 2018
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