Base class for all image encoders.
More...
#include <Codec.hpp>
|
const std::string | m_fileName |
|
Base class for all image encoders.
All image encoders must inherit from this class.
- Note
- IMPORTANT: all encoders must implement the following static function: This function must return the corresponding format defined in the FotoSHOCKcore::IO::Formats::Enum enum.
FotoSHOCKcore::IO::Encoder::Encoder |
( |
const std::string |
fileName) | |
|
|
protected |
Construct a new encoder.
- Parameters
-
fileName | name of the saved file. |
virtual void FotoSHOCKcore::IO::Encoder::saveImage |
( |
ImageBufferBase * |
image, |
|
|
int |
quality |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following files:
- /home/lukas/development/C++/FotoSHOCK/src/core/IO/Codec.hpp
- /home/lukas/development/C++/FotoSHOCK/src/core/IO/Codec.cpp