15 #ifndef __ADAFRUIT_IMAGE_READER_EPD_H__ 16 #define __ADAFRUIT_IMAGE_READER_EPD_H__ 18 #include "Adafruit_EPD.h" 21 #define MIN_SZ_BMP_HEADER 54 22 #define BMP_HEADER 0x4D42 30 void draw(Adafruit_EPD &epd, int16_t x, int16_t y);
53 int16_t y,
boolean transact =
true);
54 ImageReturnCode drawBMP(
const uint8_t *bmp,
size_t bmp_len, Adafruit_EPD &epd,
55 int16_t x, int16_t y);
57 static uint8_t mapColorForDisplay(uint8_t r, uint8_t g, uint8_t b,
61 ImageReturnCode coreBMP(
char *filename, Adafruit_EPD *epd, uint16_t *dest,
64 ImageReturnCode coreBMP(
const uint8_t *bmp,
size_t bmp_len, Adafruit_EPD *epd,
65 int16_t x, int16_t y);
68 #endif // __ADAFRUIT_IMAGE_READER_EPD_H__ An optional adjunct to Adafruit_EPD that reads RGB BMP images (maybe others in the future) from a fla...
Definition: Adafruit_ImageReader_EPD.h:48
Data bundle returned with an image loaded to RAM. Used by ImageReader.loadBMP() and Image...
Definition: Adafruit_ImageReader_EPD.h:28
void draw(Adafruit_EPD &epd, int16_t x, int16_t y)
Draw image to an Adafruit ePaper-type display.
Definition: Adafruit_ImageReader_EPD.cpp:101
An optional adjunct to Adafruit_SPITFT that reads RGB BMP images (maybe others in the future) from a ...
Definition: Adafruit_ImageReader.h:95
friend class Adafruit_ImageReader_EPD
Loading occurs here.
Definition: Adafruit_ImageReader_EPD.h:33
Data bundle returned with an image loaded to RAM. Used by ImageReader.loadBMP() and Image...
Definition: Adafruit_ImageReader.h:41
ImageReturnCode
Definition: Adafruit_ImageReader.h:22