Sign in
skia
/
external
/
github.com
/
BinomialLLC
/
basis_universal
/
588bc636c94f45f8a6bea3ab27a5cf03fc7ac52a
/
.
/
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
())