I’m working on an image viewer in C# and would like to add support for PVRTC images.
In the SDK I only see examples and libraries for C++. Is there any C# wrapper available to use with PVRTexLib.dll?
I only need to load the image and display it in a picturebox.
Hello Chipicao,
We do not have a C# wrapper for PVRTexLib.dll.
I believe you can wrap PVRTexLib.dll into C# using the ‘PlatformInvoke’ feature:
msdn.microsoft.com/en-us/library/26thfadc(v=vs.110).aspx
Thanks,
Paul
Hi. Did you managed to build a descent wrapper to C#? I need the transcode function and the MetaData info…
thanks!
Hello,
We’ve never looked into writing a C# wrapper for PVRTexLib. Paul’s suggestion was about how you could use the library directly yourself:
Platform invoke is a service that enables managed code to call unmanaged functions implemented in dynamic link libraries (DLLs), such as those in the Windows API
Regards
Carlos.