Transparent pixels dont get filtered correctly if adjanced to none transparent pixels.
Attached I have a picture of a white circle with red background (background 100% transparent).
If you view this at 100% you correctly get a white circle.
If you view it scaled to less than 100% the circle edges start bleeding red, which is wrong.
This is because the filter doesnt weigh pixels by their transparency-value, so a red pixel with 100% transparency and a white pixel with no transparency become a light red pixel with 50% transparency instead of a white pixel with 50% transparency.
ADDENDUM:
- for viewing pictures the bug only happens with high quality zoom enabled
- for resizing an image the bug always happens (not with nearest pixel mode)
Transparent pixels dont get filtered correctly
Moderators: XnTriq, helmut, xnview
-
- Posts: 2
- Joined: Sat Jul 09, 2016 7:50 am
Transparent pixels dont get filtered correctly
You do not have the required permissions to view the files attached to this post.
Last edited by 3murmeln on Sat Jul 09, 2016 9:58 am, edited 1 time in total.
-
- Moderator & Librarian
- Posts: 6457
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Transparent pixels dont get filtered correctly
Confirmed for activated High quality zoom (Tools » Options... » View » View).
-
- Posts: 2
- Joined: Sat Jul 09, 2016 7:50 am
Re: Transparent pixels dont get filtered correctly
It seems the bug even happens when you resize the image via resize-function, no matter which filter.
And here even disabling high quality zoom doesnt help.
Added it to the main-post.
And here even disabling high quality zoom doesnt help.
Added it to the main-post.
-
- Moderator & Librarian
- Posts: 6457
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Transparent pixels dont get filtered correctly
See also: Reducing Halo Effect in Rescaled/Resized Images3murmeln wrote:It seems the bug even happens when you resize the image via resize-function, no matter which filter.
-
- Moderator & Librarian
- Posts: 6457
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Transparent pixels dont get filtered correctly
XnView v2.40 (top) vs. v2.39 (bottom):
Remaining issues:
Remaining issues:
- In view mode, zooming in still produces a “halo” if Tools → Options... → View → View → High quality zoom → Enlarge is activated.
- High-quality zoom doesn't work in the preview pane.
You do not have the required permissions to view the files attached to this post.