2

I am looking for a conversion library that can convert my dds files to tga. I found imagemagick and DevIL. But both come with problems, because my specifications are as follows:

  • The library needs to be a 64-bit dll
  • The library needs to be managed (writing in C#)

DevIL has a wrapper called DevIL.NET, but this is 32-bits. I already tried to build the source in 64-bit, but I was missing a file and the author doesn't seem to respond at the moment.

ImageMagick doesn't seem to support dds formats.

Does anybody know a good library that complies to my requirements?

4

1 回答 1

0

有一种方法可以做到这一点,但它有点痛苦。

Humus提供了用于 tga 和 dds 读取和保存的 C++ 源代码(下载最新框架)。您需要将其转换为 C#,但这应该没有任何问题(我也做过一次)。

您将在Imaging\Image.hand中找到代码Imaging\Image.cpp直接链接到代码 (ZIP)。

于 2012-10-11T14:40:03.427 回答