summaryrefslogtreecommitdiffstats
path: root/src/pngenc.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-05-07 12:56:01 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-05-07 12:56:01 (GMT)
commit53da67394cd52ea7301f306ad766107b38ffd2ae (patch)
treec35eb3a8d51696f3a4cddc5f0e8d484466382833 /src/pngenc.h
parent9b0cf1e08f786c5fbc0583fdeecd9b6fefda2b76 (diff)
downloadDoxygen-53da67394cd52ea7301f306ad766107b38ffd2ae.zip
Doxygen-53da67394cd52ea7301f306ad766107b38ffd2ae.tar.gz
Doxygen-53da67394cd52ea7301f306ad766107b38ffd2ae.tar.bz2
Release-1.3.7
Diffstat (limited to 'src/pngenc.h')
-rw-r--r--src/pngenc.h8
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)