latest version v1.9 - last update 10 Apr 2010 |
BITMAPFILEHEADER:. More...
#include <ltiBMPFunctor.h>
Public Member Functions | |
header () | |
bool | read (std::ifstream &in) |
bool | write (std::ofstream &out) |
int | length () const |
Public Attributes | |
const uint16 | type |
uint32 | size |
const uint16 | reserved1 |
const uint16 | reserved2 |
uint32 | offsetPixels |
BITMAPFILEHEADER:.
This class is defined within the class lti::ioBMP.
lti::ioBMP::header::header | ( | ) |
default constructor
int lti::ioBMP::header::length | ( | ) | const [inline] |
size of the header (in bytes)
bool lti::ioBMP::header::read | ( | std::ifstream & | in | ) |
bool lti::ioBMP::header::write | ( | std::ofstream & | out | ) |
writes header to the stream "out".
offset (in bytes) from this header to the bitmap pixels
must be 0
must be 0
file size in byte
file type.
For Bitmaps this must be 'BM'