This class write an image in a bitmap file. More...
#include <bitmap.hpp>


Public Member Functions | |
| writer (const image &img) | |
| Constructor. | |
| writer (const image &img, std::ostream &f) | |
| Constructor. | |
| void | save (std::ostream &f) const |
| Save the bitmap in a file. | |
This class write an image in a bitmap file.
Definition at line 296 of file bitmap.hpp.
| claw::graphic::bitmap::writer::writer | ( | const image & | img | ) |
| claw::graphic::bitmap::writer::writer | ( | const image & | img, |
| std::ostream & | f ) |
Constructor.
| img | The image to save. |
| f | The file in which we save the data. |
Definition at line 47 of file bitmap_writer.cpp.
| void claw::graphic::bitmap::writer::save | ( | std::ostream & | f | ) | const |
Save the bitmap in a file.
| f | Destination file. |
Definition at line 57 of file bitmap_writer.cpp.