mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-08-05 12:59:03 +00:00
adding new files
This commit is contained in:
6
python/tests/test_basic_wasm_selection.py
Normal file
6
python/tests/test_basic_wasm_selection.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from basisu_py import Transcoder
|
||||
from basisu_py.transcoder import TranscoderBackend
|
||||
|
||||
t = Transcoder(backend=TranscoderBackend.WASM)
|
||||
print("Backend:", t.backend_name)
|
||||
t.decode_rgba(open("test.ktx2","rb").read())
|
||||
Reference in New Issue
Block a user