OmEspHelpers
|
class to stream a 24-bit .bmp pixel map file, as you feed it pixel by pixel More...
#include <OmBmp.h>
Public Member Functions | |
OmBitmap24BmpStream (OmIByteStream *consumer, int width, int height) | |
bool | put (uint8_t ch) override |
emit a single byte, overridden by any implementation | |
bool | putBmpHeader () |
bool | put1Pixel (uint8_t r, uint8_t g, uint8_t b) |
emit a single 24-bit pixel of our pixel map image. Will return true for each pixel you send, until width*height have been sent. Then no futher bits will get streamed out, and return false. | |
![]() | |
virtual bool | done () |
virtual bool | putS (const char *s) |
convenience routine, same as put byte-by-byte. | |
Public Attributes | |
OmIByteStream * | consumer |
bool | didPutHeader = false |
int | width |
int | height |
int | x |
int | y |
![]() | |
bool | isDone = false |
class to stream a 24-bit .bmp pixel map file, as you feed it pixel by pixel