After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 560283 - "Scale image..." causes distortion around edges.
"Scale image..." causes distortion around edges.
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.6.2
Other All
: Normal normal
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-11-11 06:05 UTC by Fred M. Sloniker
Modified: 2008-11-11 07:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A 'before' image showing the bug. (177 bytes, image/png)
2008-11-11 06:05 UTC, Fred M. Sloniker
Details
An 'after' image showing the bug. (181 bytes, image/png)
2008-11-11 06:06 UTC, Fred M. Sloniker
Details

Description Fred M. Sloniker 2008-11-11 06:05:14 UTC
Create a 2x2 image, the upper left and lower right pixels black, the upper right and lower left pixels white.  Use the "Scale image..." dialogue to resize the image to 16x16 (it doesn't matter if this is by pixel count or by percentage) using no interpolation.  The output is almost entirely black; only the leftmost and uppermost pixels, not including the upperleftmost pixel, are white.  The results look different with interpolation, but are still wrong.
Comment 1 Fred M. Sloniker 2008-11-11 06:05:50 UTC
Created attachment 122389 [details]
A 'before' image showing the bug.
Comment 2 Fred M. Sloniker 2008-11-11 06:06:16 UTC
Created attachment 122390 [details]
An 'after' image showing the bug.
Comment 3 Sven Neumann 2008-11-11 07:17:42 UTC
This is a side-effect of the fix for bug #556248. Perhaps we can find a better fix ...
Comment 4 Sven Neumann 2008-11-11 07:49:15 UTC
Now fixed in both branches:

2008-11-11  Sven Neumann  <sven@gimp.org>

	Bug 560283 – "Scale image..." causes distortion around edges.

	* app/paint-funcs/scale-region.c (scale): corrected fix for
	bug #556248.