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