[SOLVED] Problem converting to DDS

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
nilsca
Posts: 14
Joined: 2014-11-19T17:51:21-07:00
Authentication code: 6789

[SOLVED] Problem converting to DDS

Post by nilsca »

Hi

I'm trying to have image magick generate some DDS graphic - input is DDS - the Image magick output can't be loaded by my two dds viewers - one of them Gimp's dds.exe crashes (gimp 2.8.14):

Code: Select all

Problem signature:
  Problem Event Name:	BEX64
  Application Name:	dds.exe
  Application Version:	0.0.0.0
  Application Timestamp:	529db211
  Fault Module Name:	StackHash_dda5
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	00000000
  Exception Offset:	ffffffffffff0500
  Exception Code:	c0000005
  Exception Data:	0000000000000008
  OS Version:	6.1.7601.2.1.0.768.3
  Locale ID:	4105
  Additional Information 1:	dda5
  Additional Information 2:	dda5ee11cdb73f7a8476727e614113b1
  Additional Information 3:	0685
  Additional Information 4:	0685762f203dffd8510cbdf3ca6b7326


Sequence (for testing)

# 1 the dds original to jpg - works fine of course
convert 8019.dds 8019.jpg

# 2 the jpg back to dds - critical step generating DDS
convert 8019.jpg 8019-from-jpg.dds

# 3 back to jpg from that dds - works fine for Image Magick actually
convert 8019-from-jpg.dds 8019-from-dds.jpg


The all important 8019-from-jpg.dds ends up being not valid. Image Magick itself has no problem in step 3 though. Am I missing a switch? Is ImageMagick's DDS output compatible to the original's format I'm starting with?

All files here https://www.dropbox.com/sh/z141b9y97iwp ... t8n8a?dl=0

Thanks
Nils
Last edited by nilsca on 2014-11-21T20:33:33-07:00, edited 1 time in total.
nilsca
Posts: 14
Joined: 2014-11-19T17:51:21-07:00
Authentication code: 6789

Re: Problem converting to DDS

Post by nilsca »

.. reporting back that the dds generated by ImageMagick is actually nicely readable by another tool I've tried - paint.net

So I think I'll check with gimp folks and ddsviewer.com on possible problem in their dds file handling.

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: [SOLVED] Problem converting to DDS

Post by fmw42 »

See http://www.imagemagick.org/script/formats.php and http://www.imagemagick.org/script/comma ... php#define about -defines for DDS. Perhaps there is a define you need to specify to be compatible with those other programs.
Post Reply