mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 16:06:54 +01:00
14 lines
282 B
C
14 lines
282 B
C
#include <Arduino.h>
|
|
#include <TFT_eSPI.h>
|
|
|
|
#pragma once
|
|
|
|
struct imgParam {
|
|
bool hasRed;
|
|
uint8_t dataType;
|
|
bool dither;
|
|
};
|
|
|
|
void spr2buffer(TFT_eSprite &spr, String &fileout, imgParam &imageParams);
|
|
void jpg2buffer(String filein, String fileout, imgParam &imageParams);
|