Files
basis_universal/python/tests/test_basic_wasm_selection.py
Richard Geldreich ea6778b2b5 adding new files
2026-01-19 01:59:35 -05:00

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())