Cannot convert PNG files

XnConvert Multi Platform - Windows, MacOSX, Linux
tamle
Posts: 5
Joined: Mon Nov 13, 2017 10:55 am

Cannot convert PNG files

Postby tamle » Mon Nov 13, 2017 11:02 am

I am trying to convert 3 png files to jpg, somehow, I cannot do it at all. The result is always 3 png with actions applied but not convert to jpg. I have no idea what I should have done. I attached the screenshots. This drive me crazy but it's probably my fault rather than the software's bug.
Attachments
03 Output.png
01 Input.png
02 Actions.png
04 Status.png

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

Re: Cannot convert PNG files

Postby xnview » Mon Nov 13, 2017 2:50 pm

are you sure that original picture file are png and not jpeg?
Pierre.

tamle
Posts: 5
Joined: Mon Nov 13, 2017 10:55 am

Re: Cannot convert PNG files

Postby tamle » Mon Nov 13, 2017 3:01 pm

I am quite sure, just look at the extension in the Input image. Once, I even use the As original option in the Output screen, it also return png files. How else do I identify it?

cday
XnThusiast
Posts: 1588
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Cannot convert PNG files

Postby cday » Mon Nov 13, 2017 3:15 pm

tamle wrote:I am quite sure, just look at the extension in the Input image. Once, I even use the As original option in the Output screen, it also return png files. How else do I identify it?

Could you upload an example JPEG, it is not unknown for files to have an incorrect extension but still open normally in viewing software.

No problem with a JPEG I tested in XnConvert 1.74, not the current version, which version are you using?

tamle
Posts: 5
Joined: Mon Nov 13, 2017 10:55 am

Re: Cannot convert PNG files

Postby tamle » Tue Nov 14, 2017 1:20 am

I attached here one of the png file that was not possible to convert to jpg.
When I attach here, it say error "Image file type mismatch: expected extension jpg but extension png given."

I am using XnConvert Version 1.75 - windows x64 (Sep 5 2017) - Libformat version 7.10 on windows 10 x64.

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

Re: Cannot convert PNG files

Postby xnview » Tue Nov 14, 2017 7:03 am

so the extension is not good, it's jpeg files with png extension
Pierre.

tamle
Posts: 5
Joined: Mon Nov 13, 2017 10:55 am

Re: Cannot convert PNG files

Postby tamle » Tue Nov 14, 2017 8:31 am

So what should I do from now on? Maybe XnConvert should include a check to notify user about such situation.

cday
XnThusiast
Posts: 1588
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Cannot convert PNG files

Postby cday » Tue Nov 14, 2017 6:43 pm

tamle wrote:So what should I do from now on?

If the issue is simply that the file extension is incorrect, you could edit the extension to change it to .png, either directly in Windows, or if there you have many similar files, if necessary using one of the freeware renaming utilites.

You could also first try selecting the following XnConvert setting:

Settings tab > Load format settings... > Ignore read errors

I think that setting is general, and not specific to the file formats on the tabs in the that window?

tamle wrote:Maybe XnConvert should include a check to notify user about such situation.

@Pierre: Could something like that be implemented easily?

tamle
Posts: 5
Joined: Mon Nov 13, 2017 10:55 am

Re: Cannot convert PNG files

Postby tamle » Wed Nov 15, 2017 5:00 am

I would even go so far as to say it's a bug, therefore must be fixed. Because the output is png when user specifically request it to be jpg. I think it would be great if XnConvert just
- identify the actual extension
- pretend the user has the correct extension,
- process (correctly) normally and
- notify the user later in the Status screen.


Return to “XnConvert”

Who is online

Users browsing this forum: No registered users and 3 guests