Commit e89dc8e2 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

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).
parent 9c5166ef
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, "");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment