Basis Universal Multithreaded .KTX2 Supercompressed GPU Texture Encoding/Transcoding Testbed v0.67
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.

Visualization/Display Options:
Disable ETC1S->BC7 Transcoder's Chroma Artifact Filtering:
Higher quality ASTC 6x6 HDR->BC6H transcoding:
Disabled
Exposure: 1

KTX2 Texture Format to Encode:

ETC1S LDR Options:
ETC1S Quality: 255
ETC1S Comp Level: 2

UASTC LDR 4x4 Options:
UASTC LDR Quality: 1
UASTC LDR RDO: RDO Quality: 1.0

UASTC HDR 4x4 Options:
UASTC HDR Quality: 0

ASTC HDR 6x6 Options:
Comp Level: 0
RDO Quality (Lambda, 0-50k, try 0-5k, higher=smaller):
REC 2020 Colorspace:

LDR->HDR Upconversion Options:
Convert LDR images to linear light:
LDR to HDR Upconversion Nit Multiplier: Invalid value!

Other Options:
Use sRGB/perceptual metrics:
Generate mipmaps:
Debug Output (See Dev Console): Compute Stats:

Log Output:
Encoding... Please wait.