We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
有一种方法可以做到这一点,但有点痛苦。
Humus 提供了 tga 和 dds 读取和保存的 C++ 源代码(下载最新框架)。您需要将其转换为 C#,但这应该没有任何问题(我也这样做过一次)。
您可以在
Imaging\Image.h
和Imaging\Image.cpp
中找到代码。直接链接到代码 (ZIP)。
There is a way to do this but it's a bit painfull.
Humus provides C++ source code for both tga and dds reading and saving ( Download the latest framework ). You need to convert it to C# but this should be possible without any problems ( i did it once too ).
You'll find the code in the
Imaging\Image.h
andImaging\Image.cpp
.Direct link to the Code( ZIP ).