Adafruit ImageReader Library
|
#include "Adafruit_SPIFlash.h"
#include "Adafruit_SPITFT.h"
Go to the source code of this file.
Classes | |
class | Adafruit_Image |
Data bundle returned with an image loaded to RAM. Used by ImageReader.loadBMP() and Image.draw(), not ImageReader.drawBMP(). More... | |
class | Adafruit_ImageReader |
An optional adjunct to Adafruit_SPITFT that reads RGB BMP images (maybe others in the future) from a flash filesystem (SD card or SPI/QSPI flash). It's purposefully been made an entirely separate class (rather than part of SPITFT or GFX classes) so that Arduino code that uses GFX or SPITFT without image loading does not need to incur the RAM overhead and additional dependencies of the Adafruit_SPIFlash library by its mere inclusion. The syntaxes can therefore be a bit bizarre (passing display object as an argument), see examples for use. More... | |
Enumerations | |
enum | ImageReturnCode { IMAGE_SUCCESS, IMAGE_ERR_FILE_NOT_FOUND, IMAGE_ERR_FORMAT, IMAGE_ERR_MALLOC } |
enum | ImageFormat { IMAGE_NONE, IMAGE_1, IMAGE_8, IMAGE_16 } |
This is part of Adafruit's ImageReader library for Arduino, designed to work with Adafruit_GFX plus a display device-specific library.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Phil "PaintYourDragon" Burgess for Adafruit Industries.
BSD license, all text here must be included in any redistribution.
enum ImageReturnCode |
Status codes returned by drawBMP() and loadBMP()
enum ImageFormat |
Image formats returned by loadBMP()