Page 1 of 1

DDS - unexpected end-of-file

Posted: 2016-03-12T05:56:09-07:00
by Bighead
For some reason there are DDS files that give the below error message when trying to convert to PNG (or any format):
convert.exe: unexpected end-of-file 'tex1_64x64_f6ba877454fa8f67_14.dds': No such file or directory @ error/dds.c/SkipRGBMipmaps/2407.

The error also pops up if using certain command with "identify.exe", so it's not limited to just converting. Identify can get the width and height okay, but testing for %[opaque] fails and throws out the error.

The file in question is here, and I can provide more samples if needed:
http://www.mediafire.com/download/ja8wa ... f67_14.dds

Using a simple image converter such as this has no issues converting the file to PNG.
http://www.ddsconverter.com/

And the image is view-able and works fine when loaded into games. Is there any way around this error and force ImageMagick to convert it?

Re: DDS - unexpected end-of-file

Posted: 2016-03-12T09:26:48-07:00
by dlemstra
It looks like this type of DDS file is not supported at the moment. When I ignore the error I get a corrupted image.