Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
mo10 committed Aug 9, 2019
1 parent fbc1caa commit 924f3e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ You can find more photos [here](./Images).
Pigeon's splash screen image uses RLE (Run-length encoding) data format.Other parts do not follow this encoding.
Please note that it is not a standard RLE structure.
Each RLE data consists of 16-bit data (2-bit color index and 14-bit pixel continuous length).
The binary format is: `CCLL LLLL LLLL LLLL`
`CC` is a color index value, which ranges from 0 to 3. Support four colors in total.
The binary format is: `CCLL LLLL LLLL LLLL`
`CC` is a color index value, which ranges from 0 to 3. Support four colors in total.
`LLLLLLLLLLLLLL` is the length of consecutive pixels, and its bit length is determined by the highest bit of the number of pixels on the screen.For example,Pigeon's screen resolution is 80x160. 80x160 = B110010 00000000.Its binary length is 14 bits.If you want to use it at other resolutions, this part may need to be recalculated.

### Customize
Expand Down

0 comments on commit 924f3e3

Please sign in to comment.