Claw
1.7.3
|
A class for jpeg pictures. More...
#include <jpeg.hpp>
Classes | |
struct | error_manager |
Error handler that throw an exception instead of exiting the program. More... | |
class | reader |
This class read data from a jpeg file and store it in an image. More... | |
class | writer |
This class write an image in a jpeg file. More... | |
Public Member Functions | |
jpeg (unsigned int w, unsigned int h) | |
Constructor. Creates an empty image. | |
jpeg (const image &that) | |
Copy constructor. | |
jpeg (std::istream &f) | |
Constructor. Load an image from a jpeg file. | |
void | save (std::ostream &os, const writer::options &opt=writer::options()) const |
Save the image. |
claw::graphic::jpeg::jpeg | ( | unsigned int | w, |
unsigned int | h | ||
) |
claw::graphic::jpeg::jpeg | ( | const image & | that | ) |
claw::graphic::jpeg::jpeg | ( | std::istream & | f | ) |
void claw::graphic::jpeg::save | ( | std::ostream & | f, |
const writer::options & | opt = writer::options() |
||
) | const |
Save the image.
f | The file in which we write. |
opt | Saving options. |
Definition at line 73 of file jpeg.cpp.
Referenced by claw::graphic::jpeg::writer::writer().