mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 13:06:23 +01:00
- added advanced tag options: image rotation / always use default lut / force refresh / cancel pending - fixed rx/tx swap in documentation
21 lines
416 B
C
21 lines
416 B
C
#include <Arduino.h>
|
|
#include <TFT_eSPI.h>
|
|
|
|
#pragma once
|
|
|
|
struct imgParam {
|
|
bool hasRed;
|
|
uint8_t dataType;
|
|
bool dither;
|
|
bool grayLut = false;
|
|
uint8_t bpp = 8;
|
|
uint8_t rotate = 0;
|
|
|
|
char segments[12];
|
|
uint16_t symbols;
|
|
bool invert;
|
|
};
|
|
|
|
void spr2buffer(TFT_eSprite &spr, String &fileout, imgParam &imageParams);
|
|
void jpg2buffer(String filein, String fileout, imgParam &imageParams);
|