Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
<clip>
2008-02-29 6.3.9-2 Cristy <quetzlzacatenango@image...>
* Add support for the Postable Document Archive Format.
* Add support for Braille images.
* Add support for DDS images (contributed by Bianca van Schaik).
* Add GetImageAlphaChannel() method.
* PSD clipping paths are once again recognized.
</clip>
The changelog as well as some other posts on the forum suggest that ImageMagick is capable of reading DDS files...
Perhaps it is broken?
I just downloaded the source to try building from source and debugging it, and nt-base.c is all kinds of broken. Two symbols that are unknown (magick_off_t and MAP_ANON), as well as some syntax errors (. in a variable declaration list).
I think I have hacked around the compile errors, but even the compiled code has the same problem. I'm trying to step through the code now to see why it might be falling down.
Ok, stepping into the code, the DDSD_CAPS flag isn't set on my image's flags, and the DDS reader expects it to be set. I'm not exactly sure why the reader needs it, nor am I sure how I go about getting the flag set on my image.
I'm not entirely sure why the CAPs structure was being looked for, as from what I can tell, the code manages just fine if the flag isn't set (and the structure isn't there).