diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-05-07 12:56:01 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-05-07 12:56:01 (GMT) |
commit | 64ab36082a9cb658fd54c2b76fdf1a9b40ed7b74 (patch) | |
tree | c35eb3a8d51696f3a4cddc5f0e8d484466382833 /src/pngenc.h | |
parent | 08b4b96ea20ded173b851aeb452c5d3c98e08cc4 (diff) | |
download | Doxygen-64ab36082a9cb658fd54c2b76fdf1a9b40ed7b74.zip Doxygen-64ab36082a9cb658fd54c2b76fdf1a9b40ed7b74.tar.gz Doxygen-64ab36082a9cb658fd54c2b76fdf1a9b40ed7b74.tar.bz2 |
Release-1.3.7
Diffstat (limited to 'src/pngenc.h')
-rw-r--r-- | src/pngenc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/pngenc.h b/src/pngenc.h index c86cbce..66379cb 100644 --- a/src/pngenc.h +++ b/src/pngenc.h @@ -22,6 +22,7 @@ typedef unsigned char Byte; +/*! \brief Entry in the color palette of a PNG image */ struct Color { Byte red; @@ -29,6 +30,11 @@ struct Color Byte blue; }; +/*! \brief PNG image encoder + * + * This class allows to encode a raw image to a compressed PNG. + * Use write() to save the result to disk. + */ class PngEncoder { public: @@ -36,8 +42,6 @@ class PngEncoder ~PngEncoder(); void write(const char *fileName); - protected: - private: // image variables Byte *data; // pointer to the image data (one byte per pixel) |