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:
Sven Neumann 2005-05-21 00:38:19 +00:00 committed by Sven Neumann
parent 9c5166ef9c
commit e89dc8e224
3 changed files with 9 additions and 3 deletions

View file

@ -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

View file

@ -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;

View file

@ -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, "");
}