Page 1 of 1

Converting DDS to PNG fails

Posted: 2015-05-13T08:26:18-07:00
by Skyrunner
I am trying to convert DDS files to PNG.

Using the command

Code: Select all

convert filename.dds filename.png
causes this error:

Code: Select all

convert.im6: unexpected end-of-file `item_herb.dds': No such file or directory @ error/dds.c/ReadDDSImage/403.
And the output is this image:

Image

However, using image-online-converter to convert it works fine:

Image

Are there some dds options that I need to specify? If you are curious, the file is uploaded here, using Dropbox.

Re: Converting DDS to PNG fails

Posted: 2015-05-13T09:27:14-07:00
by fmw42

Re: Converting DDS to PNG fails

Posted: 2015-05-14T00:02:06-07:00
by Skyrunner
I don't think the options help me. I tried all three compressions and still got an identical result for all of them.

Is it possible that the particular dds file formats I am using are simply not supported by ImageMagick? :/

Re: Converting DDS to PNG fails

Posted: 2015-05-14T00:46:05-07:00
by dlemstra
Are you using the latest version of ImageMagick? I can convert the image to the same output as you are expecting with the latest version (6.9.1-2)

Re: Converting DDS to PNG fails

Posted: 2015-05-14T09:34:55-07:00
by fmw42
It saves a lot of back and forth messages, if people would read the very top post on the User's Forum at viewtopic.php?f=1&t=9620 and always provide their IM version and platform.

Re: Converting DDS to PNG fails

Posted: 2015-05-15T05:59:29-07:00
by Skyrunner
Hmm, it seems I'm using 6.7.7-10, dated to 2014 March 6th. I'm not sure I would be able to install the most recent version because I think I got this from either Ubuntu's software manager or an apt-get... I suppose I could download an exe and just not add it to the path.

Re: Converting DDS to PNG fails

Posted: 2015-05-15T10:31:06-07:00
by dlemstra
The date that you are seeing is the date it was compiled not the release date. Version 6.7.7 is from 2012.