[gimp] Bug 569833 – file-jpeg-save erroneous with small quality values
- From: Sven Neumann <neo src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Bug 569833 – file-jpeg-save erroneous with small quality values
- Date: Mon, 10 Aug 2009 19:29:56 +0000 (UTC)
commit fc979283de60d67591cb61e11f5c9aba2f2b543d
Author: Massimo Valentini <sixtysix inwind it>
Date: Mon Aug 10 21:26:53 2009 +0200
Bug 569833 â?? file-jpeg-save erroneous with small quality values
Use the passed parameters if the quality setting is 0.01 or greater
instead of rejecting values below 0.05 in non-interactive mode.
plug-ins/file-jpeg/jpeg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-jpeg/jpeg.c b/plug-ins/file-jpeg/jpeg.c
index e1a1d27..bfda6e5 100644
--- a/plug-ins/file-jpeg/jpeg.c
+++ b/plug-ins/file-jpeg/jpeg.c
@@ -361,7 +361,7 @@ run (const gchar *name,
else
{
/* Once the PDB gets default parameters, remove this hack */
- if (param[5].data.d_float > 0.05)
+ if (param[5].data.d_float >= 0.01)
{
jsvals.quality = 100.0 * param[5].data.d_float;
jsvals.smoothing = param[6].data.d_float;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]