Calamus Raster Graphic file format: Difference between revisions

From Atari Wiki
Jump to navigation Jump to search
m (typo)
Line 24: Line 24:
 
To decompress: Code byte (N) Instructions
 
To decompress: Code byte (N) Instructions
 
N <= 127 Emit the next N+1 bytes literally.
 
N <= 127 Emit the next N+1 bytes literally.
N >= 128 Emit the next byte N?127 times.
+
N >= 128 Emit the next byte N-127 times.
 
 
 
After decompression, pixels are in left-to-right, top-to-bottom order. The format is
 
After decompression, pixels are in left-to-right, top-to-bottom order. The format is

Revision as of 07:26, 30 January 2017