tagparser/avi/bitmapinfoheader.h

36 lines
662 B
C
Raw Normal View History

#ifndef TAG_PARSER_BITMAPINFOHEADER_H
#define TAG_PARSER_BITMAPINFOHEADER_H
2015-06-11 00:27:34 +02:00
2016-08-29 15:43:05 +02:00
#include "../global.h"
2015-06-11 00:27:34 +02:00
#include <c++utilities/conversion/types.h>
namespace IoUtilities {
class BinaryReader;
}
namespace TagParser {
2015-06-11 00:27:34 +02:00
2018-03-07 01:17:50 +01:00
class TAG_PARSER_EXPORT BitmapInfoHeader {
2015-06-11 00:27:34 +02:00
public:
BitmapInfoHeader();
void parse(IoUtilities::BinaryReader &reader);
uint32 size;
uint32 width;
uint32 height;
uint16 planes;
uint16 bitCount;
uint32 compression;
uint32 imageSize;
uint32 horizontalResolution;
uint32 verticalResolution;
uint32 clrUsed;
uint32 clrImportant;
};
2018-03-07 01:17:50 +01:00
} // namespace TagParser
2015-06-11 00:27:34 +02:00
#endif // TAG_PARSER_BITMAPINFOHEADER_H