1.3.0 - viewer - extra border in png RGBA

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

1.3.0 - viewer - extra border in png RGBA

Post 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
Attachments
test_image.zip
(752 Bytes) Downloaded 57 times
Last edited by user0 on Tue May 30, 2023 6:15 pm, edited 3 times in total.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 1.3 BUG - extra border in png RGBA

Post by XnTriq »

Is Zoom on HiDPI screen: 1 image pixel equals 1 screen pixel in ToolsSettings…ViewView activated, user0?
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

Re: 1.3 BUG - extra border in png RGBA

Post 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.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 1.3 BUG - extra border in png RGBA

Post 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.
Post Reply