Page 1 of 1

DDS file unreadable after upgrade 6.8 to 6.9

Posted: 2015-07-18T06:29:48-07:00
by Flamester
http://flamester.strangled.net/temp/tile9.dds

Not a file I made, but I write scripts that convert files like this one for something else.

"convert tile9.dds tile9.png"

Works on the above-linked file with no problem with convert version 6.8.9, but an upgrade to 6.9.1 started erroring out with "unexpected end-of-file" on the dds.

Is there a change to "convert" that I'm missing with that update to make it work? Seems odd that it wasn't a problem before but it is a problem now.

Re: DDS file unreadable after upgrade 6.8 to 6.9

Posted: 2015-07-18T07:53:15-07:00
by 246246
Just a info.
Can display with 6.9.1-3 Q16 on Cygwin
Cannot display with 6.9.1-8 Q16 (HDRI binary) on Windows

Re: DDS file unreadable after upgrade 6.8 to 6.9

Posted: 2015-07-18T10:39:04-07:00
by fmw42
Perhaps a fix to DDS mentioned in the changelog (http://www.imagemagick.org/script/changelog.php) has cause your problem.

Re: DDS file unreadable after upgrade 6.8 to 6.9

Posted: 2015-07-18T15:15:34-07:00
by dlemstra
It appears there was an incorrect EOF check but this code part was never reached because of another issue. With that issue fixed we now suddenly see this error. I have removed the EOF check and this fix will be available in the next release of (ImageMagick 6.9.1-10).

Re: DDS file unreadable after upgrade 6.8 to 6.9

Posted: 2015-07-18T23:28:57-07:00
by Flamester
dlemstra wrote:It appears there was an incorrect EOF check but this code part was never reached because of another issue. With that issue fixed we now suddenly see this error. I have removed the EOF check and this fix will be available in the next release of (ImageMagick 6.9.1-10).
Excellent news. Thanks!