mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 08:37:21 +00:00
changed default dithering to GIMP_NO_DITHER (bug #303063).
2005-05-21 Sven Neumann <sven@gimp.org> * app/dialogs/convert-dialog.c: * libgimp/gimpexport.c (export_convert_indexed): changed default dithering to GIMP_NO_DITHER (bug #303063).
This commit is contained in:
parent
9c5166ef9c
commit
e89dc8e224
|
@ -1,3 +1,9 @@
|
|||
2005-05-21 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/dialogs/convert-dialog.c:
|
||||
* libgimp/gimpexport.c (export_convert_indexed): changed default
|
||||
dithering to GIMP_NO_DITHER (bug #303063).
|
||||
|
||||
2005-05-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpcolorarea.c
|
||||
|
|
|
@ -73,7 +73,7 @@ static void convert_dialog_palette_changed (GimpContext *context,
|
|||
|
||||
/* defaults */
|
||||
|
||||
static GimpConvertDitherType saved_dither_type = GIMP_FS_DITHER;
|
||||
static GimpConvertDitherType saved_dither_type = GIMP_NO_DITHER;
|
||||
static gboolean saved_alpha_dither = FALSE;
|
||||
static gboolean saved_remove_dups = TRUE;
|
||||
static gint saved_num_colors = 256;
|
||||
|
|
|
@ -170,10 +170,10 @@ export_convert_indexed (gint32 image_ID,
|
|||
/* check alpha */
|
||||
g_free (gimp_image_get_layers (image_ID, &nlayers));
|
||||
if (nlayers > 1 || gimp_drawable_has_alpha (*drawable_ID))
|
||||
gimp_image_convert_indexed (image_ID, GIMP_FS_DITHER,
|
||||
gimp_image_convert_indexed (image_ID, GIMP_NO_DITHER,
|
||||
GIMP_MAKE_PALETTE, 255, FALSE, FALSE, "");
|
||||
else
|
||||
gimp_image_convert_indexed (image_ID, GIMP_FS_DITHER,
|
||||
gimp_image_convert_indexed (image_ID, GIMP_NO_DITHER,
|
||||
GIMP_MAKE_PALETTE, 256, FALSE, FALSE, "");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue