Page 1 of 1

1.4.3 - viewer - strange file size on Save after Save as

Posted: Thu Apr 06, 2023 5:10 pm
by user0
XnViewMP 1.4.3 64bit
Windows11 64bit (22H2), display resolution 3840x2160, win scaling 150%


Viewer
strange file size on Save after Save as

To reproduce:
1. run clean portable XnViewMP
2. open any picture (eg attached one)
png.zip
(131.75 KiB) Downloaded 64 times
3. press CTRL+SHIFT+S to Save as jpg_1.jpg (default format options)
4. in win file explorer make copy of this file, eg jpg_2.jpg
save1.png
save1.png (1.04 KiB) Viewed 794 times
5. press CTRL+S in xnview
file size changes from 54KB to 150KB
save2.png
save2.png (1.24 KiB) Viewed 794 times
6. close xnview

7. open jpg_2.jpg
8. press CTRL+S
file size changes from 54KB to 58KB (expected fluctuation)
save3.png
save3.png (1.24 KiB) Viewed 794 times


Few examples saving with other formats (default settings):

Code: Select all

        step3    step5    step8
avif    379      141      165
bmp     246      141      246
heic    164      141      164
jpg      54      150       58
jxl     138      141      138
jxr     148      141      147
tiff    247      141      247
xebp     50      141       48

What happes on step3 that affects file size so much?
I would expect 'Save as' produce the same result as Save on step8 (with minor fluctuation if lossy settings).

Re: 1.4.3 - viewer - strange file size on Save after Save as

Posted: Fri Apr 07, 2023 8:46 am
by xnview
the output file is PNG not JPEG
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: 1.4.3 - viewer - strange file size on Save after Save as

Posted: Tue Apr 18, 2023 2:49 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.4.4. Please check and confirm the bug fix here.

Re: 1.4.3 - viewer - strange file size on Save after Save as

Posted: Tue Apr 18, 2023 4:26 pm
by user0
fixed in 1.4.4