.dds to .png

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

creehawk
Posts: 4
Joined: Wed Dec 07, 2022 7:13 am
Location: Germany

.dds to .png

Post by creehawk »

Hello!
The File to convert: (One of 3282) https://www.citybuilders.de/sample/ICON.DDS
Converting without any changes from .dds to .png with XnConvert absolutly perfect.

Converting with NConvert using »nconvert -out png ICON.DDS« results in
Image

Where is the problem?

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

Re: .dds to .png

Post by cday »

Hallo!

Could you please check that you posted the intended files: I don't see any difference in the images for ICON.DDS opened in XnView MP, ICON.PNG and my PNG image from XnConvert. What am I missing?
creehawk
Posts: 4
Joined: Wed Dec 07, 2022 7:13 am
Location: Germany

Re: .dds to .png

Post by creehawk »

Well....

On my machine : Win10 Home 21H2, DirectX 12
https://www.citybuilders.de/sample/ICON.DDS
https://www.citybuilders.de/sample/ICON.PNG

The correct ICON.DDS is shown in the Windows Explorer via NvidiaThumbnailDriver. And in Paint.net 4.3.12.
The destroyed ICON.PNG is shown in the Windows Explorer. And in Paint.net 4.3.12.

And as I wrote : Using XNConvert everything ok.

Strange....

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

Re: .dds to .png

Post by cday »

I compared all three images in XnView MP tabs, so possibly that is why I didn't see any difference: I haven't tried creating my own NConvert PNG, I just used your file as downloaded.

I am normally in Linux, and in my as-brief-as-possible time in Windows I don't normally pay any attention to file icons, so I am not well-placed to help... :wink:

Maybe now you have posted test viewing conditions, someone else can comment?
creehawk
Posts: 4
Joined: Wed Dec 07, 2022 7:13 am
Location: Germany

Re: .dds to .png

Post by creehawk »

Does no one have any ideas? :shock:

creehawk
creehawk
Posts: 4
Joined: Wed Dec 07, 2022 7:13 am
Location: Germany

Re: .dds to .png

Post by creehawk »

Ok.

It looks like a detection problem with .dds

-in dds option make no difference, -out tiff resolved in the same wrecked image.

What's going on?

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

Re: .dds to .png

Post by cday »

creehawk wrote: Thu Dec 08, 2022 5:53 pm -in dds option make no difference, -out tiff resolved in the same wrecked image.
The two XnConvert and NConvert output files looked identical to me in XnView MP, and in a quick look showed seemingly identical properties in Image > Properties.., so I don't know where the problem is arising.

As I suggested in a PM I sent earlier, I suggest that you place files named ICON.DDS, ICON_XnConvert.PNG and ICON_NConvert.PNG in a ZIP you can attach, and provide a test situation to reproduce the issue. Someone else may then be able to identify the problem.