A JPEG converter object. More...
#include <cvb/webstreaming/jpeg_converter.hpp>
Inherits Converter.
Public Member Functions | |
| int | Scale () const |
| Get the scale of the JPEG conversion. | |
| void | SetScale (int scale) |
| Set the scale of the JPEG conversion. | |
| int | Quality () const |
| Get the quality of the JPEG conversion. | |
| void | SetQuality (int quality) |
| Set the quality of the JPEG conversion. | |
Public Member Functions inherited from Converter | |
| void * | Handle () const noexcept |
| Returns C-API style handle to Converter Object. | |
Static Public Member Functions | |
| static JPEGConverterPtr | Create () |
| Creates a new JPEG converter. | |
A JPEG converter object.
Converter for sending JEPG converted image data.
|
inlinestatic |
Creates a new JPEG converter.
| Any | exception derived from std::exception including CvbException. |
|
inline |
Get the quality of the JPEG conversion.
| Any | exception derived from std::exception including CvbException. |
|
inline |
Get the scale of the JPEG conversion.
| Any | exception derived from std::exception including CvbException. |
|
inline |
Set the quality of the JPEG conversion.
| [in] | quality | The quality. |
| Any | exception derived from std::exception including CvbException. |
The quality must be in range 1...100.
|
inline |
Set the scale of the JPEG conversion.
| [in] | scale | The scale. |
| Any | exception derived from std::exception including CvbException. |
The scale must be in range 1...16.