BinomialLLC / basis_universal

Basis Universal GPU Texture Codec
Apache License 2.0
2.73k stars 267 forks source link

[Question] Use Encoder from Native Android #308

Open tsoen opened 2 years ago

tsoen commented 2 years ago

Hello,

This is probably a stupid question, but is it possible to use / compile this project to encode files to .basis files directly from Android ? For example building a shared library .so, that can be called from Android. (Use case is to be able to pick any image on the fly on Android and to encode it to .basis format)

Sorry if I'm totally off the point here. Have a good day

richgel999 commented 2 years ago

Yes, it should be, however we have not tried this yet. The code is cross platform enough to compile on Linux/OSX/Windows/Emscripten - so it should work.

tsoen commented 2 years ago

Hello,

Thank you for your reply. Any advice or direction on how to do this ? I have downloaded the source code but have not been able to configure the project to change to output type (shared library in my case).

Regards