#include <JpgWriter.h>
Public Methods | |
| JpgWriter (int quality) | |
| Constructor. | |
| void | write_image (CString path, int width, int height, const rgbcolour_t *rgb_data) |
| Writes the given image to the given file. | |
Private Attributes | |
| int | m_quality |
This provides an interface to the Independent JPEG Group's JPG library.
|
|
Constructor.
|
|
||||||||||||||||||||
|
Writes the given image to the given file. Throws a CString exception containing the error message if there is a problem writing the file. |
|
|
|
1.2.16