summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-08-03 17:38:41 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-08-03 17:38:41 +0200
commit4894107e215fd13e8121bcdc3b610c4db7556689 (patch)
tree5c921d2e8008c5db8de9e133e1e325378237b4e3 /src
parent61903e6014daa0e381ffee5ae5c4599fb303eb01 (diff)
really use JPEG quality
Diffstat (limited to 'src')
-rw-r--r--src/JPEGOutputImage.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/JPEGOutputImage.cxx b/src/JPEGOutputImage.cxx
index d801166..9e00458 100644
--- a/src/JPEGOutputImage.cxx
+++ b/src/JPEGOutputImage.cxx
@@ -26,10 +26,11 @@ extern "C" {
#include "JPEGOutputImage.H"
-JPEGOutputImage::JPEGOutputImage(const char *f, int quality) {
+JPEGOutputImage::JPEGOutputImage(const char *f, int q) {
file = strdup(f);
fp = NULL;
row = NULL;
+ quality = q;
}
JPEGOutputImage::~JPEGOutputImage() {