Real-time resolution-based progressive decoding demonstration
Upload an HTJ2K file to see progressive decoding in action
HTJ2K supports multi-resolution decoding through OpenJPH. You can display lower resolutions first, then progressively enhance the image. This provides superior user experience compared to waiting for the entire file.
await fetch('openjphjs.js')OpenJPH.decode({data, reduce: 3})OpenJPH.decode({data, reduce: 2})OpenJPH.decode({data, reduce: 1})OpenJPH.decode({data, reduce: 0})