1.4.3 - viewer - copy-pasting 4-8bit images is corrupted
Posted: Mon Apr 17, 2023 3:14 pm
XnViewMP 1.4.3 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%
Viewer
copy-pasting 4-8bit images is corrupted
To reproduce:
1. run clean portable XnViewMP
Issue A
2. open test image (4bit, 8colors, 1transparent index) 3. make any selection
4. press CTRL+C, CTRL+V
- pasted data will be corrupted (as result colors quantity increased to 16)
- image will turns into 32bit XnView Classic also pastes black data, but if saved and reopened - there is no issue, bitness preserved, pasting only messes if selection area differs (which is understandable).
Issue B
2. open test image (8bit, 256colors) 3. make any selection
4. press CTRL+C, CTRL+V
- pasted data will be corrupted (as result colors quantity increased to 461)
- image will turns into 32bit No such issue is XnView Classic, image preservs same bitness, pasting only messes if selection area differs (which is understandable).
Windows11 (22H2), display resolution 3840x2160, win scaling 150%
Viewer
copy-pasting 4-8bit images is corrupted
To reproduce:
1. run clean portable XnViewMP
Issue A
2. open test image (4bit, 8colors, 1transparent index) 3. make any selection
4. press CTRL+C, CTRL+V
- pasted data will be corrupted (as result colors quantity increased to 16)
- image will turns into 32bit XnView Classic also pastes black data, but if saved and reopened - there is no issue, bitness preserved, pasting only messes if selection area differs (which is understandable).
Issue B
2. open test image (8bit, 256colors) 3. make any selection
4. press CTRL+C, CTRL+V
- pasted data will be corrupted (as result colors quantity increased to 461)
- image will turns into 32bit No such issue is XnView Classic, image preservs same bitness, pasting only messes if selection area differs (which is understandable).