exrio.cpp File Reference

#include <ImfInputFile.h>
#include <ImfOutputFile.h>
#include <ImfChannelList.h>
#include <ImfFrameBuffer.h>
#include <half.h>
#include "pbrt.h"
#include "color.h"

Go to the source code of this file.

Functions

COREDLL SpectrumReadImage (const string &name, int *width, int *height)
COREDLL void WriteRGBAImage (const string &name, float *pixels, float *alpha, int xRes, int yRes, int totalXRes, int totalYRes, int xOffset, int yOffset)


Function Documentation

COREDLL Spectrum * ReadImage ( const string &  name,
int *  width,
int *  height 
)

COREDLL void WriteRGBAImage ( const string &  name,
float *  pixels,
float *  alpha,
int  xRes,
int  yRes,
int  totalXRes,
int  totalYRes,
int  xOffset,
int  yOffset 
)

Definition at line 74 of file exrio.cpp.

References Error().

Referenced by ImageFilm::WriteImage().


Generated on Mon Jul 20 17:31:54 2009 for pbrt by  doxygen 1.5.6