|
Claw
1.7.3
|
This class read data from a jpeg file and store it in an image. More...
#include <jpeg.hpp>
Classes | |
| class | grayscale_to_pixel32 |
| Functor converting a grey level pixel to a ARGB pixel. | |
| class | RGB_to_pixel32 |
| Functor converting a RGB pixel to a ARGB pixel. | |
| 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 218 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 231 of file jpeg_reader.cpp.
References load().
| void claw::graphic::jpeg::reader::load | ( | std::istream & | f | ) |
Load an image from a jpeg file.
| f | JPEG file. |
Definition at line 242 of file jpeg_reader.cpp.
References CLAW_PRECOND.
Referenced by reader().
1.8.1.2