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 634901 - Resizing an image with alphachannel creates 1 pixel border down and right
Resizing an image with alphachannel creates 1 pixel border down and right
Status: RESOLVED INVALID
Product: GIMP
Classification: Other
Component: Tools
2.6.11
Other Windows
: Normal blocker
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2010-11-15 12:49 UTC by Reiner Prokein
Modified: 2010-11-17 19:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
examplepics (197.61 KB, application/octet-stream)
2010-11-15 13:06 UTC, Reiner Prokein
Details

Description Reiner Prokein 2010-11-15 12:49:04 UTC
Windows XP/ Windows 7, Gimp 2.6.11

When i resize an image with an alphachannel i will get a one pixel border down and right. This border affects both, the invisible image part and the alphachannel.

In my current case i have an alphachanneled PNG image of a barrel. I open it with Gimp, resize it with linear, bicubic or sinc lancosz3, and can see a border now down and right, with a transparency of 253 or 254. Nearly invisible, but just nearly. When i remove the alphachannel by the Levels tool i can see even more. A one pixel border in the colours of the content down and right is created too.

See attached example images.

This border makes massive trouble where i want to use the images. I cannot longer crop the images to just the visible part, because this by Gimp created border counts also as a visible part. I would have to delete this border at every image by hand. And i can`t even reach the part that is hidden by the alphachannel.

This bug is a showstopper for me.
Comment 1 Reiner Prokein 2010-11-15 13:06:09 UTC
Created attachment 174506 [details]
examplepics
Comment 2 Reiner Prokein 2010-11-17 08:37:34 UTC
I was wrong. The bug was at my end. The source images already contains a one pixel border. So no wonder that i get an effect in the resized image. Haven`t noticed that before.

Please close this bug report. It is a false one. Sorry for the trouble.