Page 1 of 1

1.8.8 - viewer - png - alpha transparency - clipboard issues

Posted: Sat May 10, 2025 4:14 pm
by user0
XnViewMP 1.8.8 64bit
Windows11 (24H2), display resolution 3840x2160, dpi scale 150%


Viewer - png - alpha transparency
few issues with copy/pasting from clipboard

To reproduce:
0. prerequisites
- have 2 test images (32bit png)
test_img_copy_paste.zip
(1.81 KiB) Downloaded 251 times

issue A
1. open 1.png in Viewer
2. press Ctrl+C, Ctrl+V
image will be pasted, but with halo on borders/partially transparent parts (similar issue)
a.png
a.png (4.09 KiB) Viewed 209 times
expected behavior
eg like in mspaint/photoshop


issue B
1. open 1.png in Viewer(instance A) and 2.png in another Viewer(instance B)
2. copy 2.png to clipboard (via Ctrl+C or Ctrl+Shift+C) and insert into 1.png (Ctrl+V)
image will be pasted with artifacts (issue A)
3. press Ctrl+Z to undo pasting
4. close instance B
5. paste 2.png from clipboard into 1.png again
result will be different (it looks like 2.png lost alpha channel on app close)
b.png
b.png (3.88 KiB) Viewed 206 times





Related