Page 1 of 1
[0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Posted: Wed Nov 27, 2019 4:42 am
by FWhite
When I converted a png image to a jpg image, the extension name of the resulting image remained ".png", but not ".jpg".
Re: [0.94.1]The extension name will not change to ".jpg" when convert a png image to jpg image
Posted: Wed Nov 27, 2019 2:59 pm
by xnview
by using batch convert?
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Posted: Wed Nov 27, 2019 3:03 pm
by FWhite
Yes.
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Posted: Wed Nov 27, 2019 3:09 pm
by xnview
FWhite wrote: Wed Nov 27, 2019 3:03 pmYes.
could you tell me more
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Posted: Wed Nov 27, 2019 5:29 pm
by FWhite
Software: XnView MP 0.94.1 Zip Win 64-bit
OS: Windows 10 LTSC - 64-bit
To reproduce:
1. Select a png image file.
2. Click "Tools - Batch convert".
3. Choose the "Output" subfield. Set "When output files already exist" as "Skip" and check “Use CPU Cores”. Choose the "format" as "JPG - JPEG / JFIF".
4. All other setings remain default.
5. click "Convert". Please notice the extension name of the resulting image file. It's ".png", but not ".jpg".
It is interesting that the operation history may affect the result. I started XnViewMP, and did the png-to-jpg conversion immediately (keep the settings as described above); the bug recurred. Then I did some other conversion operations. Did the png-to-jpg conversion again, sometimes the bug recurred again, but sometimes the bug disappeared. I'm sorry that I didn't find the law.
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Posted: Thu Nov 28, 2019 11:07 am
by xnview
what do you have in 'Filename'? 'Preserve extension' is enabled?
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Posted: Thu Nov 28, 2019 12:29 pm
by FWhite
The filename is "{Filename}_result", and the output folder is "Source folder".
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Posted: Thu Nov 28, 2019 1:00 pm
by FWhite
The screenshots of the settings and status are shown below.

Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Posted: Thu Nov 28, 2019 1:38 pm
by xnview
Right

please disable 'preserve extension'
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Posted: Thu Nov 28, 2019 3:22 pm
by FWhite
Thanks for your time and solution.