This demo uses the Basis Universal C++ transcoder (compiled to WebAssembly using Emscripten) to transcode a .ktx2 file to FORMAT It also supports encoding .PNG, .EXR or .HDR files to LDR or HDR .KTX2 files.
Thanks to Evan Parker for providing webgl-texture-utils and this test bed. Go back. Enable your browser debug console (F12 on Chrome/Firefox) to see debug output.
Note: The largest image resolution that can be compressed in the browser with
this library is limited to around 6 megapixels due to 32-bit WASM memory
constraints. Larger images risk running out of memory.
Supported WebGL formats:
Test
Use Multithreading (if available)
Additional Worker Threads (Max 18):
.ktx2 file:
.png/.jpg/.exr/.hdr file:
Drag and drop a PNG/JPG/EXR/HDR file here, or click to select a file.