From 79331578d3b4bc73c74bc741d6bcaca2cf5cd650 Mon Sep 17 00:00:00 2001 From: pixel Date: Wed, 16 Jan 2008 14:23:13 +0000 Subject: Raising default jpeg quality up to 95% --- lib/Image.cc | 4 ++-- 1 file 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); -- cgit v1.2.3