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. More... | |
void | SetScale (int scale) |
Set the scale of the JPEG conversion. More... | |
int | Quality () const |
Get the quality of the JPEG conversion. More... | |
void | SetQuality (int quality) |
Set the quality of the JPEG conversion. More... | |
Public Member Functions inherited from Converter | |
void * | Handle () const noexcept |
Returns C-API style handle to Converter Object. More... | |
Static Public Member Functions | |
static JPEGConverterPtr | Create () |
Creates a new JPEG converter. More... | |
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.