summaryrefslogtreecommitdiff
path: root/src/JPEGOutputImage.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/JPEGOutputImage.H')
-rw-r--r--src/JPEGOutputImage.H14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/JPEGOutputImage.H b/src/JPEGOutputImage.H
index 06499ca..6e713de 100644
--- a/src/JPEGOutputImage.H
+++ b/src/JPEGOutputImage.H
@@ -24,19 +24,15 @@ class JPEGOutputImage : public OutputImage {
FILE *fp;
int quality;
- public:
- JPEGOutputImage(const char *file, int quality = 90);
-
- ~JPEGOutputImage();
-
protected:
- int init_internal(int w, int h);
-
+ int init_internal();
int set_pixel_internal(int x, int r, int g, int b);
-
int next_line_internal();
-
int done_internal();
+
+ public:
+ JPEGOutputImage(const char *file, int quality = 90);
+ ~JPEGOutputImage();
};
#endif