Files
OpenEPaperLink/ESP32_AP-Flasher/include/makeimage.h
Nic Limper e7fbaffbab added advanced tag options
- added advanced tag options: image rotation / always use default lut / force refresh / cancel pending
- fixed rx/tx swap in documentation
2023-06-09 12:56:58 +02:00

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);