Files
OpenEPaperLink/esp32_fw/include/makeimage.h
Nic Limper 5205338635 external image upload, 1bpp buffer, cleanup
- if image only has BW, then sending red buffer is skipped
- jpg image upload from external source: see /upload-test.html
2023-03-22 19:30:25 +01:00

13 lines
265 B
C

#include <Arduino.h>
#include <TFT_eSPI.h>
#pragma once
struct imgParam {
bool hasRed;
uint8_t dataType;
};
void spr2buffer(TFT_eSprite &spr, String &fileout, imgParam &imageParams);
void jpg2buffer(String filein, String fileout, imgParam &imageParams);