summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/poppler-src/goo/PNGWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/poppler/poppler-src/goo/PNGWriter.h')
-rw-r--r--Build/source/libs/poppler/poppler-src/goo/PNGWriter.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/Build/source/libs/poppler/poppler-src/goo/PNGWriter.h b/Build/source/libs/poppler/poppler-src/goo/PNGWriter.h
index 93f54369290..90a298e7ef3 100644
--- a/Build/source/libs/poppler/poppler-src/goo/PNGWriter.h
+++ b/Build/source/libs/poppler/poppler-src/goo/PNGWriter.h
@@ -8,7 +8,7 @@
// Copyright (C) 2009 Shen Liang <shenzhuxi@gmail.com>
// Copyright (C) 2009, 2011-2013 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
-// Copyright (C) 2010, 2011, 2013, 2017 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2010, 2011, 2013 Adrian Johnson <ajohnson@redneon.com>
// Copyright (C) 2012 Pino Toscano <pino@kde.org>
//
//========================================================================
@@ -32,9 +32,8 @@ public:
* RGBA - 4 bytes/pixel
* GRAY - 1 byte/pixel
* MONOCHROME - 8 pixels/byte
- * RGB48 - 6 bytes/pixel
*/
- enum Format { RGB, RGBA, GRAY, MONOCHROME, RGB48 };
+ enum Format { RGB, RGBA, GRAY, MONOCHROME };
PNGWriter(Format format = RGB);
~PNGWriter();
@@ -43,12 +42,12 @@ public:
void setSRGBProfile();
- bool init(FILE *f, int width, int height, int hDPI, int vDPI) override;
+ bool init(FILE *f, int width, int height, int hDPI, int vDPI);
- bool writePointers(unsigned char **rowPointers, int rowCount) override;
- bool writeRow(unsigned char **row) override;
+ bool writePointers(unsigned char **rowPointers, int rowCount);
+ bool writeRow(unsigned char **row);
- bool close() override;
+ bool close();
private:
PNGWriter(const PNGWriter &other);