From e89dc8e22425e701e36d56dc026c1d730fa2741c Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sat, 21 May 2005 00:38:19 +0000 Subject: [PATCH] changed default dithering to GIMP_NO_DITHER (bug #303063). 2005-05-21 Sven Neumann * app/dialogs/convert-dialog.c: * libgimp/gimpexport.c (export_convert_indexed): changed default dithering to GIMP_NO_DITHER (bug #303063). --- ChangeLog | 6 ++++++ app/dialogs/convert-dialog.c | 2 +- libgimp/gimpexport.c | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9741c37fee..9477aa939c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-05-21 Sven Neumann + + * 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 * libgimpwidgets/gimpcolorarea.c diff --git a/app/dialogs/convert-dialog.c b/app/dialogs/convert-dialog.c index 53724dbeea..3657e9f3d2 100644 --- a/app/dialogs/convert-dialog.c +++ b/app/dialogs/convert-dialog.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; diff --git a/libgimp/gimpexport.c b/libgimp/gimpexport.c index 97d34cf042..6c4d831e60 100644 --- a/libgimp/gimpexport.c +++ b/libgimp/gimpexport.c @@ -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, ""); }