With scaling methods Hermite, Gaussian, Bell, BSpline, Mitchell, Lanczos and Hanning the alpha channel gets removed when resizing an image.
Only Nearest Neighbor and Bilinear work as expected and preserve the alpha channel.
Most scaling algorithms remove alpha channel when resizing an image
Moderators: helmut, XnTriq, xnview, Dreamer
-
- Posts: 12
- Joined: Fri Dec 22, 2017 12:43 am
-
- Author of XnView
- Posts: 37889
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Most scaling algorithms remove alpha channel when resizing an image
i can't reproduce, could you send me a sample image?
Pierre.
-
- Posts: 12
- Joined: Fri Dec 22, 2017 12:43 am
Re: Most scaling algorithms remove alpha channel when resizing an image
Yes, I also could not reproduce this issue until I found the image I originally had the problem with. It's just 17x17 pixels in size, but it's not the size that causes this, since the issue can not be reproduced after reencoding the image with XnConvert.
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 37889
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Most scaling algorithms remove alpha channel when resizing an image
I can't reproduce with the file, could you post a screenshot of resize dialog?
Pierre.
-
- Posts: 12
- Joined: Fri Dec 22, 2017 12:43 am