This class write an image in a targa file.
More...
#include <targa.hpp>
This class write an image in a targa file.
- Author
- Julien Jorge
Definition at line 390 of file targa.hpp.
◆ writer() [1/2]
claw::graphic::targa::writer::writer |
( |
const image & |
img | ) |
|
◆ writer() [2/2]
claw::graphic::targa::writer::writer |
( |
const image & |
img, |
|
|
std::ostream & |
f, |
|
|
bool |
rle |
|
) |
| |
Constructor.
- Parameters
-
img | The image to save. |
f | The file in which we save the data. |
rle | Tell if we must encode the data. |
Definition at line 75 of file targa_writer.cpp.
◆ save()
void claw::graphic::targa::writer::save |
( |
std::ostream & |
os, |
|
|
bool |
rle |
|
) |
| const |
Save the content of the image in a stream.
- Parameters
-
os | The stream in which we write. |
rle | Tell if we must encode the data. |
Definition at line 87 of file targa_writer.cpp.
The documentation for this class was generated from the following files: