OmEspHelpers
Public Member Functions | Public Attributes | List of all members
OmBitmap24BmpStream Class Reference

class to stream a 24-bit .bmp pixel map file, as you feed it pixel by pixel More...

#include <OmBmp.h>

Inheritance diagram for OmBitmap24BmpStream:
OmIByteStream

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.
 
- Public Member Functions inherited from OmIByteStream
virtual bool done ()
 
virtual bool putS (const char *s)
 convenience routine, same as put byte-by-byte.
 

Public Attributes

OmIByteStreamconsumer
 
bool didPutHeader = false
 
int width
 
int height
 
int x
 
int y
 
- Public Attributes inherited from OmIByteStream
bool isDone = false
 

Detailed Description

class to stream a 24-bit .bmp pixel map file, as you feed it pixel by pixel


The documentation for this class was generated from the following file: