[0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
FWhite
Posts: 6
Joined: Wed Nov 27, 2019 4:29 am

[0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image

Post by FWhite »

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.
User avatar
xnview
Author of XnView
Posts: 46620
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.94.1]The extension name will not change to ".jpg" when convert a png image to jpg image

Post by xnview »

by using batch convert?
Pierre.
User avatar
xnview
Author of XnView
Posts: 46620
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image

Post by xnview »

FWhite wrote: Wed Nov 27, 2019 3:03 pmYes.
could you tell me more
Pierre.
FWhite
Posts: 6
Joined: Wed Nov 27, 2019 4:29 am

Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image

Post 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.
User avatar
xnview
Author of XnView
Posts: 46620
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image

Post by xnview »

what do you have in 'Filename'? 'Preserve extension' is enabled?
Pierre.
FWhite
Posts: 6
Joined: Wed Nov 27, 2019 4:29 am

Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image

Post by FWhite »

The filename is "{Filename}_result", and the output folder is "Source folder".
FWhite
Posts: 6
Joined: Wed Nov 27, 2019 4:29 am

Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image

Post by FWhite »

The screenshots of the settings and status are shown below.

Image
Image
User avatar
xnview
Author of XnView
Posts: 46620
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image

Post by xnview »

Right :bugconfirmed: please disable 'preserve extension'
Pierre.
FWhite
Posts: 6
Joined: Wed Nov 27, 2019 4:29 am

Re: [0.94.1]The extension name of the resulting image is incorrect when convert a png image to jpg image

Post by FWhite »

Thanks for your time and solution.
Post Reply