After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 61088 - want default jpeg quality setting
want default jpeg quality setting
Status: RESOLVED DUPLICATE of bug 63610
Product: GIMP
Classification: Other
Component: Plugins
1.x
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
Daniel Egger
Depends on:
Blocks:
 
 
Reported: 2001-09-24 21:12 UTC by Jamie Zawinski
Modified: 2003-08-05 07:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jamie Zawinski 2001-09-24 21:12:12 UTC
I'd like a way to tell it to default to 85% quality in jpegs:
right now it always defaults to 75%.
Comment 1 Raphaël Quinet 2001-09-25 10:07:28 UTC
This could be added as a new option to the user preferences, so that
some options could be saved accross sessions.  This could be done in
the same way as the gfig-path, gflare-path and other plug-in options
are saved in the gimprc.  AFAIK the current gimprc API for plug-ins
only supports strings, but it should not be a problem to convert the
integer to/from a string when it is saved or loaded.

But there is a problem with the user interface: this setting should
probably not be saved to the gimprc every time the user changes it.
So where should be the dialog that can set the default?  Should it be
in the JPEG plug-in or in the Gimp itself, along with the other user
preferences?  From a code point of view, it would be better to leave
this to the JPEG plug-in, since it would be the only one dealing with
this setting.  But from a user interface point of view, it would be
better to have all persistent settings in the Preferences dialog,
which is controlled by the Gimp.

Comment 2 Raphaël Quinet 2001-11-05 08:24:37 UTC

*** This bug has been marked as a duplicate of 63610 ***
Comment 3 Raphaël Quinet 2003-08-05 07:46:58 UTC
For information, a part of this problem has now been solved:

2003-08-05  Raphael Quinet  <quinet@gamers.org>

        * 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.