mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 00:23:52 +00:00
7 lines
211 B
Python
7 lines
211 B
Python
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())
|