bug with .dds pictures

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Scotvince
Posts: 2
Joined: Thu Oct 12, 2023 11:04 am

bug with .dds pictures

Post by Scotvince »

I don't know why converting an image into .dds with xn convert doesn't work. The final image is completely hatched as you can see on the screenshot.

https://imgur.com/g26P2ez

To precise the problem, the littles black&white hatched pictures you see in the center of the screenshot are in .dds into the game files. I convert pictures from png to .dds and I integrate them in the game. All online converters create correct photos, but not xn converter (which I need to use because of the multiple conversions possibility). Using xn converter from .png to .dds creates hatched photos.
User avatar
j7n
Posts: 19
Joined: Tue Mar 03, 2020 7:28 am

Re: bug with .dds pictures

Post by j7n »

XN only supports "round" image dimensions such as 1024*1024. From how the rows are misaligned, you can clearly see there is a width mismatch issue. If you ever opened RAW files, you'll recognize it. DDS support is still very limited. It only outputs DXT5 even if there is no alpha, and no mipmaps.

You can use free Photoshop CS2 + Nvidia Tools (old version)

Create an Action with save to DDS. Then use File > Automate > Batch
I don't think the action saves any parameters, so the last chosen DDS options will be used.