|
Claw
1.7.3
|
A class for png pictures. More...
#include <png.hpp>
Classes | |
| class | reader |
| This class read data from a png file and store it in an image. More... | |
| class | writer |
| This class write an image in a png file. More... | |
Public Member Functions | |
| png (unsigned int w, unsigned int h) | |
| Constructor. Creates an empty image. | |
| png (const image &that) | |
| Copy constructor. | |
| png (std::istream &f) | |
| Constructor. Load an image from a png file. | |
| void | save (std::ostream &os, const writer::options &opt=writer::options()) const |
| Save the image. | |
| claw::graphic::png::png | ( | unsigned int | w, |
| unsigned int | h | ||
| ) |
| claw::graphic::png::png | ( | const image & | that | ) |
| claw::graphic::png::png | ( | std::istream & | f | ) |
| void claw::graphic::png::save | ( | std::ostream & | f, |
| const writer::options & | opt = writer::options() |
||
| ) | const |
Save the image.
| f | The file in which we write. |
| opt | Saving options. |
Definition at line 73 of file png.cpp.
Referenced by claw::graphic::png::writer::writer().
1.7.6.1