XnviewMP 1.8.6: DDS files are missing mipmap layers.

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: helmut, XnTriq, xnview, Dreamer

User avatar
b1k3rdude
Posts: 2
Joined: Sun Jun 21, 2020 9:05 am

XnviewMP 1.8.6: DDS files are missing mipmap layers.

Post by b1k3rdude »

XnView: MP 1.8.6 64 bit
OS: Windows 10 22H2/64bit
Effect: Cant open the files in GIMP 2 to verify said files, get "Requested data exceeds size of file" error popup in-gimp (see attached)

To reproduce:
1. open an image and save it to .DDS
2. try to open the image in GIMP.
3. you get the following errors in GIMP (see attached).
4. Opening and re-saving DDS files in Paint.net fixes the error and creates the missing mipmap layers.

Expected behaviour:
- For XnviewMP to correctly output/save .DDS files so they include mipmap layer. On a side not, I am able to open said files in GIMP 3 rc3 (and dont get the error) but the mipmap layers are still showing as not present.
- would be handy to have the ability choose DXT compression on single and batch actions.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45795
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnviewMP 1.8.6: DDS files are missing mipmap layers.

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 45795
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnviewMP 1.8.6: DDS files are missing mipmap layers.

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.7. Please check and confirm the bug fix here.
Pierre.