Commit 0e60632d authored by William Skaggs's avatar William Skaggs

Bill Skaggs <weskaggs@primate.ucdavis.edu>

	* plug-ins/common/gauss.c: always use RLE if horz or
	vert radius is less than 1.  Fixes bug #315953.
parent 06638a89
2005-10-06 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/gauss.c: always use RLE if horz or
vert radius is less than 1. Fixes bug #315953.
2005-10-06 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-save.c: can't use smoothing with nonstandard
......
......@@ -660,6 +660,13 @@ gauss (GimpDrawable *drawable,
guchar *preview_buffer1 = NULL;
guchar *preview_buffer2 = NULL;
/*
* IIR goes wrong if the blur radius is less than 1, so we silently
* switch to RLE in this case. See bug #315953
*/
if (horz <= 1.0 || vert <= 1.0)
method = BLUR_RLE;
if (horz <= 0.0 && vert <= 0.0)
{
if (preview)
......
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