summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2008-01-16 14:23:13 +0000
committerpixel <pixel>2008-01-16 14:23:13 +0000
commit79331578d3b4bc73c74bc741d6bcaca2cf5cd650 (patch)
treecdc17c91aa79b817811dd036bcb6e15a6c7865da /lib
parentc03cb12982a04f8904c5d7eb685de39c153eae11 (diff)
Raising default jpeg quality up to 95%
Diffstat (limited to 'lib')
-rw-r--r--lib/Image.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Image.cc b/lib/Image.cc
index f85495f..b8e5029 100644
--- a/lib/Image.cc
+++ b/lib/Image.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Image.cc,v 1.19 2007-09-28 09:05:55 pixel Exp $ */
+/* $Id: Image.cc,v 1.20 2008-01-16 14:23:13 pixel Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -261,7 +261,7 @@ bool Image::Prepare(unsigned int f) throw (GeneralException) {
cinfo.input_components = 3;
cinfo.in_color_space = JCS_RGB;
jpeg_set_defaults(&cinfo);
- jpeg_set_quality(&cinfo, 85, TRUE /* limit to baseline-JPEG values */);
+ jpeg_set_quality(&cinfo, 95, TRUE /* limit to baseline-JPEG values */);
jpeg_start_compress(&cinfo, TRUE);