Sign in
◑
Theme
skia
/
external
/
github.com
/
BinomialLLC
/
basis_universal
/
ef799ff1ca4f05d5c66a6eed26fc42e98ee7570c
/
.
/
python
/
tests
/
test_basic_wasm_selection.py
blob: bdad65fb118b40867592eda889744e92503d3917 [
file
]
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
())