|
| Encoder (const std::string fileName) |
| Construct a new encoder. More...
|
|
const std::string | m_fileName |
|
void FotoSHOCKcore::IO::PngEncoder::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
-
image | image to save. The encoder should try to convert the image as needed. |
quality | specifies 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:
- /home/lukas/development/C++/FotoSHOCK/src/core/IO/codecs/pngCodec.hpp
- /home/lukas/development/C++/FotoSHOCK/src/core/IO/codecs/pngCodec.cpp