gimp r28025 - in trunk: . app/paint-funcs
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r28025 - in trunk: . app/paint-funcs
- Date: Fri, 13 Feb 2009 20:44:47 +0000 (UTC)
Author: neo
Date: Fri Feb 13 20:44:47 2009
New Revision: 28025
URL: http://svn.gnome.org/viewvc/gimp?rev=28025&view=rev
Log:
2009-02-13 Sven Neumann <sven gimp org>
Bug 571628 â Scaling image to 25% turn background from white to
grey
* app/paint-funcs/scale-region.c (pixel_average2): fixed
right-shift
for GRAYA pixels.
Modified:
trunk/ChangeLog
trunk/app/paint-funcs/scale-region.c
Modified: trunk/app/paint-funcs/scale-region.c
==============================================================================
--- trunk/app/paint-funcs/scale-region.c (original)
+++ trunk/app/paint-funcs/scale-region.c Fri Feb 13 20:44:47 2009
@@ -855,7 +855,7 @@
break;
case 510: /* all opaque */
- p[0] = (p1[0] + p2[0] + 1) >> 2;
+ p[0] = (p1[0] + p2[0] + 1) >> 1;
p[1] = 255;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]