libnebular-plugin-bmp.cpp File Reference

LibNebular, Microsoft BMP plugin. More...

#include "libnebular-plugin-base.hpp"
#include "libnebular.hpp"
#include "libnebular-plugin.hpp"
#include <fstream>
#include <set>
#include <cstring>
Include dependency graph for libnebular-plugin-bmp.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  libnebular::BmpPictureHandler
 Handles Microsoft BMP. More...
struct  libnebular::BmpPictureHandler::BmpFileHeader
 Still BMP v2 (till now), file (not bitmap) header.
struct  libnebular::BmpPictureHandler::BmpV3BmpHeaderAddon
 Still BMP v3, in addition to bitmap header for v2.
struct  libnebular::BmpPictureHandler::BmpV3WinNtBmpHeaderAddon
 Still BMP v3, Windows NT variation; in addition to bitmap header for v3.
struct  libnebular::BmpPictureHandler::BmpV4BmpHeaderAddon
 Still BMP v4; in addition to bitmap header for v3, Windows NT variation.
struct  libnebular::BmpPictureHandler::BmpV4BmpHeader
 Full bitmap header for v4.

Namespaces

namespace  libnebular
 

All ⟨libnebular⟩ identifiers which are exposed to public.


Typedefs

typedef MgrForPicHandler
< BmpPictureHandler > 
libnebular::BmpPicHandlerMgr

Detailed Description

LibNebular, Microsoft BMP plugin.

Copyright (C) 2011 Leonid Sadikov ⟨ leonius@inbox.ru

This file is part of LibNebular.

LibNebular is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation.

See "COPYING.LESSER" and "COPYING" in distribution or ⟨http://www.gnu.org/licenses/⟩ for full license text.

Author:
Leonid Sadikov ⟨ leonius@inbox.ru
Date:
Created: 22 Mar 2010

Made according to "Microsoft Windows Bitmap: Summary from the Encyclopedia of Graphics File Formats": ⟨http://www.fileformat.info/format/bmp/egff.htm

Design note:
There are many checks for the case when bitmap header isn't properly filled.
Design note:
Not in SRS: BMP files can have non-integer bit number in pixel. But: according to used BMP format specification, this is forbidden.
Note:
Note that Windows 95 only supports the RGB555 and RGB565 masks for 16-bit BMP bitmaps and RGB888 for 32-bit BMP bitmaps. There also can be "top-down" and "bottom-up" BMP-s.

Definition in file libnebular-plugin-bmp.cpp.

Generated on Sun May 29 18:23:53 2011 for libnebular by  doxygen 1.6.3