Closed iMrShadow closed 3 weeks ago
Hi, I l should be able to add these:
But
Thanks a lot!
I've added the following functions in version1.0.2:
Ktx2.CreateFromNamedFile
Ktx2.WriteToNamedFile
Ktx2.WriteToMemory
Ktx2.GetPremultipliedAlpha
Ktx2.Helper.GetDataFormatDescriptor
Let me know if everything works! There are also some other changes to the interface.
@iMrShadow
Hello! Sorry for the late reply. Thanks for the update, I will try it in the upcoming week or 2, since I have limited time atm. I am closing this issue since the features were added.
I will let you know if there are any issues
Hi! I am working on a texture converter, which extracts texture data from proprietary game files to DDS. However, some of the formats like ETC1, ETC2, ATC, ASTC, PVRTC etc. have to be stored in a KTX/KTX2 container and I would like to use this wrapper.
However, it doesn't support some functions equivalent to DirectXTexNet's ones which I use
It would be great to have some of these: WriteToMemory/WriteToFile LoadFromFile ComputePitch/Slice BitsPerPixel IsPremultipliedAlpha
KTX1 writer and loader would be great as well, but I understand this is primarily for KTX2 and Khronos has decided to deprecate version 1 (which unfortunately supports ATC compressed textures natively).
Thanks.