FotoSHOCK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | List of all members
FotoSHOCKcore::IO::ExrEncoder Class Reference
Inheritance diagram for FotoSHOCKcore::IO::ExrEncoder:
FotoSHOCKcore::IO::Encoder

Public Member Functions

 ExrEncoder (const std::string fileName)
 
virtual void saveImage (ImageBufferBase *image, int quality)
 Save an image into the file. More...
 
- Public Member Functions inherited from FotoSHOCKcore::IO::Encoder
virtual ~Encoder ()
 A destructor.
 

Static Public Member Functions

static Formats::Enum format ()
 

Additional Inherited Members

- Protected Member Functions inherited from FotoSHOCKcore::IO::Encoder
 Encoder (const std::string fileName)
 Construct a new encoder. More...
 
- Protected Attributes inherited from FotoSHOCKcore::IO::Encoder
const std::string m_fileName
 

Member Function Documentation

void FotoSHOCKcore::IO::ExrEncoder::saveImage ( ImageBufferBase image,
int  quality 
)
virtual

Save an image into the file.

Saves an image to the file specified in the Encoder's constructor.

Parameters
imageimage to save. The encoder should try to convert the image as needed.
qualityspecifies quality, especially for the lossy compressions such as JPEG. May have different meaning for lossless compressions.
Todo:
handle the quality

Implements FotoSHOCKcore::IO::Encoder.


The documentation for this class was generated from the following files: