[gimp/gimp-2-6] 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/gimp-2-6] Bug 569833 – file-jpeg-save erroneous with small quality values
- Date: Mon, 10 Aug 2009 19:35:04 +0000 (UTC)
commit b689147f2fd6e181d1d2e9a189351a87d5953827
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.
(cherry picked from commit fc979283de60d67591cb61e11f5c9aba2f2b543d)
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 59f75ad..b88b63e 100644
--- a/plug-ins/file-jpeg/jpeg.c
+++ b/plug-ins/file-jpeg/jpeg.c
@@ -362,7 +362,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]