diff options
Diffstat (limited to 'lss16.5')
| -rw-r--r-- | lss16.5 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ Header format: Image width (number of pixels horizontally): unsigned 16-bit integer, little endian. -Image height (number of pixels horizontally): unsigned 16-bit integer, little endian, +Image height (number of pixels vertically): unsigned 16-bit integer, little endian, however the most significant bit must be cleared. Colour palette: 16 RGB-tuples, each tuple is 3 bytes: red, green, blue. @@ -32,7 +32,7 @@ first nibble, and the higher part of the byte makes up the second nibble. At the beginning of each row, the previous pixel is assumed to use the 0-indexed colour. -If a nibble as the value of the the previous pixel colour index, a run-length is encoded, +If a nibble has the value of the the previous pixel colour index, a run-length is encoded, otherwise the next pixel has the colour with the index encoded in the nibble. If the nibble encodes a run-length, it can either be 0 or the number of times the |
