diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-08-03 17:38:41 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-08-03 17:38:41 +0200 |
commit | 4894107e215fd13e8121bcdc3b610c4db7556689 (patch) | |
tree | 5c921d2e8008c5db8de9e133e1e325378237b4e3 | |
parent | 61903e6014daa0e381ffee5ae5c4599fb303eb01 (diff) |
really use JPEG quality
-rw-r--r-- | src/JPEGOutputImage.cxx | 3 |
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() { |