PICCANTE  0.4
The hottest HDR imaging library!
Namespaces | Macros | Functions
pgm.hpp File Reference
#include <iostream>
#include <fstream>
#include "../base.hpp"

Go to the source code of this file.

Namespaces

 pic
 

Macros

#define PIC_IO_PGM_HPP
 

Functions

PIC_INLINE unsigned char * pic::ReadPGM (std::string nameFile, unsigned char *data, int &width, int &height, int &channels)
 ReadPGM reads an .ppm file. More...
 
PIC_INLINE bool pic::WritePGM (std::string nameFile, const unsigned char *data, int width, int height, int channels, bool bAscii=false)
 WritePGM writes an .ppm file. More...
 

Macro Definition Documentation

◆ PIC_IO_PGM_HPP

#define PIC_IO_PGM_HPP