1#ifndef PORTABLEBITMAPRREADER_H
2#define PORTABLEBITMAPRREADER_H
17 bool isBlack(
unsigned int i,
unsigned int j)
const;
19 void print(std::ostream& out)
const;
27 unsigned int getIdx(
unsigned int h,
unsigned int w)
const;
51 throw OpalException(
"PortableBitmapReader::getIdx",
"Pixel number out of bounds");
std::vector< bool > pixels_m
void readImageAscii(std::istream &in)
unsigned int getIdx(unsigned int h, unsigned int w) const
std::vector< bool > getPixels() const
bool isBlack(unsigned int i, unsigned int j) const
void print(std::ostream &out) const
void readImageBinary(std::istream &in)
std::string getNextPart(std::istream &in)
void readHeader(std::istream &in)
unsigned int getWidth() const
unsigned int getHeight() const