[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gimp-developer
Subject:    Re: [Gimp-developer] jpeg quality factor
From:       Raphaël Quinet <raphael () gimp ! org>
Date:       2007-07-13 21:45:48
Message-ID: 20070713234548.2983031b () ibiza ! islands ! lab
[Download RAW message or body]

On Fri, 13 Jul 2007 22:42:29 +0200, gg@catking.net wrote:
> On Fri, 13 Jul 2007 20:49:49 +0200,  
> <saulgoode@flashingtwelve.brickfilms.com> wrote:
> > I fail to see how I have misused the term "default" in any of this
> > explanation.
[...]
> When an image already has a value for jpeg_quality , or any other  
> paramter, replacing this is not providing a default it is a forcing.

I hope that you both read the message in which I was suggesting to
use the terms "default", "original" or "current" depending on where
some values come from.  As I explained in that message, the
"original" value (read from the file) will usually override any
"default" value (coming from GIMP or from the plug-in).

However, some plug-ins do not even attempt to read the "original"
value for some parameters because for some file formats it does not
make sense to re-use the same values as in the original file.

For JPEG quality, I think that it is best to do as in Tor's patch:
if the "original" value is higher than the "default", then use that.
Otherwise, use the "default" so that the user is not surprised to
have a file saved with a lower quality than expected.

-Raphaël
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic