OmBitmap1BmpStream

Superclass:
Declared In:

Introduction

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



Member Functions

OmBitmap1BmpStream

Instantiate the bitmap streamer, with width and height.

put1Bit

emit a single 1-bit pixel of our bitmap image. Will return true for each bit you send, until width*height have been sent. Then no futher bits will get streamed out, and return false.


OmBitmap1BmpStream


Instantiate the bitmap streamer, with width and height.

public

OmBitmap1BmpStream( OmIByteStream *consumer, int width, int height)

put1Bit


emit a single 1-bit pixel of our bitmap image. Will return true for each bit you send, until width*height have been sent. Then no futher bits will get streamed out, and return false.

public

bool put1Bit( int bit)