[0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Moderators: helmut, XnTriq, xnview, Dreamer
[0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
When I converted a png image to a jpg image, the extension name of the resulting image remained ".png", but not ".jpg".
Last edited by FWhite on Wed Nov 27, 2019 3:00 pm, edited 1 time in total.
Re: [0.94.1]The extension name will not change to ".jpg" when convert a png image to jpg image
by using batch convert?
Pierre.
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
could you tell me more
Pierre.
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
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.
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
what do you have in 'Filename'? 'Preserve extension' is enabled?
Pierre.
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
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
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
Right
please disable 'preserve extension'

Pierre.
Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image
Thanks for your time and solution.