PICCANTE  0.4
The hottest HDR imaging library!
Classes | Namespaces | Macros | Functions
bmp.hpp File Reference
#include <stdio.h>
#include <string>
#include "../base.hpp"

Go to the source code of this file.

Classes

struct  pic::BITMAPFILEHEADER
 The BITMAPFILEHEADER struct. More...
 
struct  pic::BITMAPINFOHEADER
 The BITMAPINFOHEADER struct. More...
 

Namespaces

 pic
 

Macros

#define PIC_IO_BMP_HPP
 
#define BI_RGB   0L
 
#define BI_RGB   0L
 

Functions

int pic::BitmapPadding (int bpp, int width)
 BitmapPadding (SYSTEM: X POS Y POS). More...
 
PIC_INLINE unsigned char * pic::ReadBMP (std::string nameFile, unsigned char *data, int &width, int &height, int &channels)
 ReadBMP reads an image as .bmp file. More...
 
PIC_INLINE bool pic::WriteBMP (std::string nameFile, const unsigned char *data, int width, int height, int channels)
 WriteBMP writes an image as a .bmp file. More...
 

Macro Definition Documentation

◆ BI_RGB [1/2]

#define BI_RGB   0L

◆ BI_RGB [2/2]

#define BI_RGB   0L

◆ PIC_IO_BMP_HPP

#define PIC_IO_BMP_HPP