From 924f3e36743b6223439a1b449bddfd8563971032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=9010?= <0w0@0w0.pw> Date: Sat, 10 Aug 2019 03:38:11 +0800 Subject: [PATCH] Fix format --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 553db74..652e327 100644 --- a/README.md +++ b/README.md @@ -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