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

Go to the source code of this file.

Namespaces

 pic
 

Macros

#define PIC_IO_HDR_HPP
 

Functions

PIC_INLINE float * pic::ReadHDR (std::string nameFile, float *data, int &width, int &height)
 ReadHDR reads a .hdr/.pic file. More...
 
PIC_INLINE void pic::WriteLineHDR (FILE *file, unsigned char *buffer_line, int width)
 WriteLineHDR writes a scanline of an image using RLE and RGBE encoding. More...
 
PIC_INLINE bool pic::WriteHDR (std::string nameFile, float *data, int width, int height, int channels, float appliedExposure=1.0f, bool bRLE=true)
 WriteHDR writes a .hdr/.pic file. More...
 
PIC_INLINE bool pic::WriteHDRBlock (std::string nameFile, float *buffer_line, int width, int height, int channels, int blockID, int nBlocks)
 WriteHDRBlock writes a .hdr file. More...
 

Macro Definition Documentation

◆ PIC_IO_HDR_HPP

#define PIC_IO_HDR_HPP