This class read data from a jpeg file and store it in an image. More...
#include <jpeg.hpp>
Classes | |
struct | source_manager |
Source manager that allow us to read from a std::istream. More... | |
Public Member Functions | |
reader (image &img) | |
Constructor. | |
reader (image &img, std::istream &f) | |
Constructor. Load an image from a jpeg file. | |
void | load (std::istream &f) |
Load an image from a jpeg file. | |
This class read data from a jpeg file and store it in an image.
claw::graphic::jpeg::reader::reader | ( | image & | img | ) |
Constructor.
img | The image in which the data will be stored. |
Definition at line 203 of file jpeg_reader.cpp.
claw::graphic::jpeg::reader::reader | ( | image & | img, |
std::istream & | f ) |
Constructor. Load an image from a jpeg file.
img | The image in which the data will be stored. |
f | The file from which we read the data. |
Definition at line 213 of file jpeg_reader.cpp.
void claw::graphic::jpeg::reader::load | ( | std::istream & | f | ) |
Load an image from a jpeg file.
f | JPEG file. |
Definition at line 223 of file jpeg_reader.cpp.