Canola
0.8.D001
|
#include <jpeg.h>
Public Member Functions | |
virtual | ~image_format_jpeg () |
Static Public Member Functions | |
static pointer | create (const std::string &filename) |
static pointer | create_blank (int width, int height) |
Protected Member Functions | |
const char * | type_name () const |
void | save_to_file (const std::string &filename) const |
Private Member Functions | |
image_format_jpeg () | |
image_format_jpeg (int width, int height, data_t *data) | |
image_format_jpeg (int width, int height) | |
image_format_jpeg (const image_format_jpeg &) | |
image_format_jpeg & | operator= (const image_format_jpeg &) |
The image_format_jpeg class is used to represent an image in JPEG format.
image_format_jpeg::~image_format_jpeg | ( | ) | [virtual] |
image_format_jpeg::image_format_jpeg | ( | ) | [private] |
The default constructor. Do not use.
image_format_jpeg::image_format_jpeg | ( | int | width, |
int | height, | ||
data_t * | data | ||
) | [private] |
image_format_jpeg::image_format_jpeg | ( | int | width, |
int | height | ||
) | [private] |
image_format_jpeg::image_format_jpeg | ( | const image_format_jpeg & | ) | [private] |
The copy constructor. Do not use.
image::pointer image_format_jpeg::create | ( | const std::string & | filename | ) | [static] |
image::pointer image_format_jpeg::create_blank | ( | int | width, |
int | height | ||
) | [static] |
image_format_jpeg& image_format_jpeg::operator= | ( | const image_format_jpeg & | ) | [private] |
The assignment operator. Do not use.
void image_format_jpeg::save_to_file | ( | const std::string & | filename | ) | const [protected, virtual] |
The save_to_file method is used to store the image data into a file on disk.
filename | The name of the file to be written. |
Reimplemented from image_format.
const char * image_format_jpeg::type_name | ( | ) | const [protected, virtual] |