Skip to content

Add JPEG XR decoder package#107

Open
xfalcox wants to merge 1 commit into
jamsinclair:mainfrom
xfalcox:feat/jxr-decoder
Open

Add JPEG XR decoder package#107
xfalcox wants to merge 1 commit into
jamsinclair:mainfrom
xfalcox:feat/jxr-decoder

Conversation

@xfalcox
Copy link
Copy Markdown

@xfalcox xfalcox commented Apr 8, 2026

Summary

  • add a new @jsquash/jxr browser/Web Worker decoder package backed by jxrlib
  • add HDR-aware JPEG XR decode handling, including tone mapping and opaque fallback when HDR screenshots expose a zeroed alpha plane
  • add an examples/jxr-decoder browser demo and list the package in the root README

Validation

  • npm --workspace packages/jxr run build
  • npx eslint "packages/jxr/**/*.{js,ts}"
  • headless Chromium smoke test on examples/jxr-decoder/index.html using usbank-hdr.jxr (3440 x 1440)

xfalcox added a commit to discourse/jSquash that referenced this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant