Page 1 of 1

1.3.0 - viewer - extra border in png RGBA

Posted: Sun Oct 02, 2022 6:50 pm
by user0
XnViewMP 1.3.0 64bits
Windows10 64bit (21H1), display resolution 3840x2160, win scaling 150%


Some png RGBA images has 1 pixel dash border on bottom or right side at different zoom levels.
It is more visible with custom color background.
Resaving file in mspaint or XnViewMP with default settings does not resolve issue.
Issue is gone if alpha channel removed.
Also there is no such issue in XnView Classic.
(test image attached)

Effect:
Incorrect png RGBA visualization

To reproduce:
1. run clean portable XnViewMP
2. open image
3. if no extra border, try to zoom in/out

Actual behaviour:
1 pixel extra dash border that appears at some RGBA png images at different zoom levels.

Expected behaviour:
Expect not extra borders.
border_in_zoomed_PNG_RGBA.png

Re: 1.3 BUG - extra border in png RGBA

Posted: Wed Oct 05, 2022 2:00 am
by XnTriq
Is Zoom on HiDPI screen: 1 image pixel equals 1 screen pixel in ToolsSettings…ViewView activated, user0?

Re: 1.3 BUG - extra border in png RGBA

Posted: Wed Oct 05, 2022 4:59 am
by user0
XnTriq wrote: Wed Oct 05, 2022 2:00 am Is Zoom on HiDPI screen: 1 image pixel equals 1 screen pixel in ToolsSettings…ViewView activated, user0?
Nope, it is not checked by default.

However, I can confirm that the issue is gone when this box is checked.

It's worth mentioning that the issue is gone if the alpha channel is removed from the png image.
Also no such issue in XnView Classic.

Re: 1.3 BUG - extra border in png RGBA

Posted: Thu Oct 06, 2022 5:30 am
by XnTriq
user0 wrote: Wed Oct 05, 2022 4:59 amHowever, I can confirm that the issue is gone when this box is checked.
I believe that this setting turns DPI awereness on and off.