![]() |
KSquare Utilities
|
Used to construct Sipper3 data record stream from scan lines. More...
#include <ScannerFileSipper3.h>
Public Member Functions | |
| ScannerFileSipper3 () | |
| ~ScannerFileSipper3 () | |
| kkint32 | BytesLastScanLine () const |
| kkint64 | BytesWritten () const |
| kkint32 | ScanLinesWritten () const |
| void | WriteWholeScanLine (ostream &o, uchar *line, kkint32 len) |
Used to construct Sipper3 data record stream from scan lines.
This class is meant to construct a stream of Sipper3 Records for a single Scan line. You add all the pixels from a single scan line by calling 'AddPixel' for each pixel in the scan line. When you are done Adding all the pixels in a single scan line you call 'Write' to write all the Sipper3 buffer records to disk. The input range of pixel values is '0 '- thru '255' where '0' is the background. 'AddPixel' will convert into 3 bit gray-scale by dividing by 32.
Definition at line 21 of file ScannerFileSipper3.h.
| ScannerFileSipper3::ScannerFileSipper3 | ( | ) |
Definition at line 22 of file ScannerFileSipper3.cpp.
| ScannerFileSipper3::~ScannerFileSipper3 | ( | ) |
Definition at line 32 of file ScannerFileSipper3.cpp.
|
inline |
Definition at line 29 of file ScannerFileSipper3.h.
|
inline |
Definition at line 28 of file ScannerFileSipper3.h.
|
inline |
Definition at line 30 of file ScannerFileSipper3.h.
Definition at line 39 of file ScannerFileSipper3.cpp.