GNOME Bugzilla – Bug 343804
Scaling with lanczos not wirking with alpha channel
Last modified: 2006-07-05 08:23:04 UTC
Please describe the problem: Scaling an image with alpha-channel give only a black image if using lanczos. Steps to reproduce: 1. Create an image with alpha channel 2. scale with lanczos 3. Actual results: Instead of the scaled-down image you see only a black image. Expected results: Does this happen every time? Yes Other information:
I can confirm this, using either "Scale Image" or "Scale Layer" from the menu. It doesn't happen when I use the Scale Layer tool, with interpolation set to Lanczos. I think this must have shown up quite recently.
Looks like in code cleanups committed on 4-28-06, Sven accidentally changed a couple of variables from gdouble to gint, thereby causing this problem. Fixed in cvs, unfortunately not quite in time for the 2.3.9 release. Thanks for pointing this out. 2006-06-05 Bill Skaggs <weskaggs@primate.ucdavis.edu> * app/paint-funcs/scale-funcs.c (scale_region_lanczos): fix variable declarations accidentally changed from gdouble to gint in revision 1.7; fixes bug #343804.
*** Bug 344200 has been marked as a duplicate of this bug. ***
*** Bug 346590 has been marked as a duplicate of this bug. ***