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

Go to the source code of this file.

Namespaces

 pic
 

Macros

#define PIC_IO_PFM_HPP
 

Functions

PIC_INLINE float pic::convertFloatEndianess (float value)
 convertFloatEndianess converts a float from little-endian to big-endian or viceversa. More...
 
PIC_INLINE float * pic::ReadPFM (std::string nameFile, float *data, int &width, int &height, int &channel)
 ReadPFM loads a portable float map from a file. More...
 
PIC_INLINE bool pic::WritePFM (std::string nameFile, float *data, int width, int height, int channels=3)
 WritePFM writes an HDR image in the portable float map format into a file. More...
 

Macro Definition Documentation

◆ PIC_IO_PFM_HPP

#define PIC_IO_PFM_HPP