From f59c0c277059bedb338c159378ac319e4f75e11c Mon Sep 17 00:00:00 2001 From: Raphael Quinet Date: Tue, 5 Aug 2003 07:43:25 +0000 Subject: [PATCH] increase the default quality setting from 0.75 to 0.85, as requested in 2003-08-05 Raphael Quinet * plug-ins/common/jpeg.c (DEFAULT_QUALITY): increase the default quality setting from 0.75 to 0.85, as requested in bug #61088 and in bug #63610. This seems to be a more reasonable default for most users. The correct way to solve this problem would be to implement the persistent preferences as described in bug #63610, but this quick fix should take care of the most annoying problem. --- ChangeLog | 9 +++++++++ plug-ins/common/jpeg.c | 3 ++- plug-ins/jpeg/jpeg-load.c | 3 ++- plug-ins/jpeg/jpeg-load.h | 3 ++- plug-ins/jpeg/jpeg-save.c | 3 ++- plug-ins/jpeg/jpeg-save.h | 3 ++- plug-ins/jpeg/jpeg.c | 3 ++- plug-ins/jpeg/jpeg.h | 3 ++- 8 files changed, 23 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0deb8a1a8b..544d5ebb82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2003-08-05 Raphael Quinet + + * plug-ins/common/jpeg.c (DEFAULT_QUALITY): increase the default + quality setting from 0.75 to 0.85, as requested in bug #61088 and + in bug #63610. This seems to be a more reasonable default for + most users. The correct way to solve this problem would be to + implement the persistent preferences as described in bug #63610, + but this quick fix should take care of the most annoying problem. + 2003-08-05 Henrik Brix Andersen * plug-ins/common/align_layers.c diff --git a/plug-ins/common/jpeg.c b/plug-ins/common/jpeg.c index d270f716f5..e1ace524cb 100644 --- a/plug-ins/common/jpeg.c +++ b/plug-ins/common/jpeg.c @@ -174,7 +174,8 @@ /* #undef HAVE_PROGRESSIVE_JPEG if your library doesn't support it */ /* #define HAVE_PROGRESSIVE_JPEG if your library knows how to handle it */ -#define DEFAULT_QUALITY 0.75 +/* See bugs #63610 and #61088 for a discussion about the quality settings */ +#define DEFAULT_QUALITY 0.85 #define DEFAULT_SMOOTHING 0.0 #define DEFAULT_OPTIMIZE 1 #define DEFAULT_PROGRESSIVE 0 diff --git a/plug-ins/jpeg/jpeg-load.c b/plug-ins/jpeg/jpeg-load.c index d270f716f5..e1ace524cb 100644 --- a/plug-ins/jpeg/jpeg-load.c +++ b/plug-ins/jpeg/jpeg-load.c @@ -174,7 +174,8 @@ /* #undef HAVE_PROGRESSIVE_JPEG if your library doesn't support it */ /* #define HAVE_PROGRESSIVE_JPEG if your library knows how to handle it */ -#define DEFAULT_QUALITY 0.75 +/* See bugs #63610 and #61088 for a discussion about the quality settings */ +#define DEFAULT_QUALITY 0.85 #define DEFAULT_SMOOTHING 0.0 #define DEFAULT_OPTIMIZE 1 #define DEFAULT_PROGRESSIVE 0 diff --git a/plug-ins/jpeg/jpeg-load.h b/plug-ins/jpeg/jpeg-load.h index d270f716f5..e1ace524cb 100644 --- a/plug-ins/jpeg/jpeg-load.h +++ b/plug-ins/jpeg/jpeg-load.h @@ -174,7 +174,8 @@ /* #undef HAVE_PROGRESSIVE_JPEG if your library doesn't support it */ /* #define HAVE_PROGRESSIVE_JPEG if your library knows how to handle it */ -#define DEFAULT_QUALITY 0.75 +/* See bugs #63610 and #61088 for a discussion about the quality settings */ +#define DEFAULT_QUALITY 0.85 #define DEFAULT_SMOOTHING 0.0 #define DEFAULT_OPTIMIZE 1 #define DEFAULT_PROGRESSIVE 0 diff --git a/plug-ins/jpeg/jpeg-save.c b/plug-ins/jpeg/jpeg-save.c index d270f716f5..e1ace524cb 100644 --- a/plug-ins/jpeg/jpeg-save.c +++ b/plug-ins/jpeg/jpeg-save.c @@ -174,7 +174,8 @@ /* #undef HAVE_PROGRESSIVE_JPEG if your library doesn't support it */ /* #define HAVE_PROGRESSIVE_JPEG if your library knows how to handle it */ -#define DEFAULT_QUALITY 0.75 +/* See bugs #63610 and #61088 for a discussion about the quality settings */ +#define DEFAULT_QUALITY 0.85 #define DEFAULT_SMOOTHING 0.0 #define DEFAULT_OPTIMIZE 1 #define DEFAULT_PROGRESSIVE 0 diff --git a/plug-ins/jpeg/jpeg-save.h b/plug-ins/jpeg/jpeg-save.h index d270f716f5..e1ace524cb 100644 --- a/plug-ins/jpeg/jpeg-save.h +++ b/plug-ins/jpeg/jpeg-save.h @@ -174,7 +174,8 @@ /* #undef HAVE_PROGRESSIVE_JPEG if your library doesn't support it */ /* #define HAVE_PROGRESSIVE_JPEG if your library knows how to handle it */ -#define DEFAULT_QUALITY 0.75 +/* See bugs #63610 and #61088 for a discussion about the quality settings */ +#define DEFAULT_QUALITY 0.85 #define DEFAULT_SMOOTHING 0.0 #define DEFAULT_OPTIMIZE 1 #define DEFAULT_PROGRESSIVE 0 diff --git a/plug-ins/jpeg/jpeg.c b/plug-ins/jpeg/jpeg.c index d270f716f5..e1ace524cb 100644 --- a/plug-ins/jpeg/jpeg.c +++ b/plug-ins/jpeg/jpeg.c @@ -174,7 +174,8 @@ /* #undef HAVE_PROGRESSIVE_JPEG if your library doesn't support it */ /* #define HAVE_PROGRESSIVE_JPEG if your library knows how to handle it */ -#define DEFAULT_QUALITY 0.75 +/* See bugs #63610 and #61088 for a discussion about the quality settings */ +#define DEFAULT_QUALITY 0.85 #define DEFAULT_SMOOTHING 0.0 #define DEFAULT_OPTIMIZE 1 #define DEFAULT_PROGRESSIVE 0 diff --git a/plug-ins/jpeg/jpeg.h b/plug-ins/jpeg/jpeg.h index d270f716f5..e1ace524cb 100644 --- a/plug-ins/jpeg/jpeg.h +++ b/plug-ins/jpeg/jpeg.h @@ -174,7 +174,8 @@ /* #undef HAVE_PROGRESSIVE_JPEG if your library doesn't support it */ /* #define HAVE_PROGRESSIVE_JPEG if your library knows how to handle it */ -#define DEFAULT_QUALITY 0.75 +/* See bugs #63610 and #61088 for a discussion about the quality settings */ +#define DEFAULT_QUALITY 0.85 #define DEFAULT_SMOOTHING 0.0 #define DEFAULT_OPTIMIZE 1 #define DEFAULT_PROGRESSIVE 0