DDS file unreadable after upgrade 6.8 to 6.9

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Flamester
Posts: 2
Joined: 2015-07-18T06:21:00-07:00
Authentication code: 1151

DDS file unreadable after upgrade 6.8 to 6.9

Post 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.
246246
Posts: 190
Joined: 2015-07-06T07:38:22-07:00
Authentication code: 1151

Re: DDS file unreadable after upgrade 6.8 to 6.9

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: DDS file unreadable after upgrade 6.8 to 6.9

Post by fmw42 »

Perhaps a fix to DDS mentioned in the changelog (http://www.imagemagick.org/script/changelog.php) has cause your problem.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: DDS file unreadable after upgrade 6.8 to 6.9

Post 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).
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Flamester
Posts: 2
Joined: 2015-07-18T06:21:00-07:00
Authentication code: 1151

Re: DDS file unreadable after upgrade 6.8 to 6.9

Post 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!
Post Reply