Claw
1.7.3
|
This class write an image in a pcx file. More...
#include <pcx.hpp>
Classes | |
class | file_output_buffer |
The type of the output buffer associated with the file when encoding RLE data. More... |
Public Types | |
typedef rle_encoder < file_output_buffer > | rle_pcx_encoder |
RLE encoder for pcx format. |
Public Member Functions | |
writer (const image &img) | |
Constructor. | |
writer (const image &img, std::ostream &f) | |
Constructor. | |
void | save (std::ostream &os) const |
Save the content of the image in a stream. |
claw::graphic::pcx::writer::writer | ( | const image & | img | ) |
claw::graphic::pcx::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 102 of file pcx_writer.cpp.
References save().
void claw::graphic::pcx::writer::save | ( | std::ostream & | os | ) | const |
Save the content of the image in a stream.
os | The stream in which we write. |
Definition at line 113 of file pcx_writer.cpp.
Referenced by writer().