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

Go to the source code of this file.

Namespaces

 pic
 

Macros

#define PIC_IO_PPM_HPP
 

Functions

PIC_INLINE unsigned char * pic::ReadPPM (std::string nameFile, unsigned char *data, int &width, int &height, int &channels)
 ReadPPM reads an .ppm file. More...
 
PIC_INLINE bool pic::WritePPM (std::string nameFile, const unsigned char *data, int width, int height, int channels)
 WritePPM writes an .ppm file. More...
 

Macro Definition Documentation

◆ PIC_IO_PPM_HPP

#define PIC_IO_PPM_HPP