mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 02:04:36 +01:00
add support for 3bpp ACeP buffers (7 color epaper)
This commit is contained in:
@@ -117,6 +117,7 @@
|
||||
#define DATATYPE_IMG_DIFF 0x10 // always 1BPP ** deprecated
|
||||
#define DATATYPE_IMG_RAW_1BPP 0x20 // 2888 bytes for 1.54" / 4736 2.9" / 15000 4.2"
|
||||
#define DATATYPE_IMG_RAW_2BPP 0x21 // 5776 bytes for 1.54" / 9472 2.9" / 30000 4.2"
|
||||
#define DATATYPE_IMG_RAW_3BPP 0x22 // ACEP
|
||||
#define DATATYPE_IMG_ZLIB 0x30 // compressed format.
|
||||
// [uint32_t uncompressed size][2 byte zlib header][zlib compressed image]
|
||||
// image format: [uint8_t header length][uint16_t width][uint16_t height][uint8_t bpp (lower 4)][img data]
|
||||
|
||||
Reference in New Issue
Block a user