jxl-rs-polyfill 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/auto.js +514 -38
- package/dist/build-info.json +2 -4
- package/dist/jxl-polyfill.cjs +2 -2
- package/dist/jxl-polyfill.cjs.map +2 -2
- package/dist/jxl-polyfill.js +2 -2
- package/dist/jxl-polyfill.js.map +2 -2
- package/dist/jxl_wasm.d.ts +48 -54
- package/dist/jxl_wasm.js +215 -215
- package/dist/jxl_wasm_bg.wasm +0 -0
- package/package.json +2 -2
- package/dist/polyfill-original.js +0 -558
package/README.md
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
# jxl-rs-polyfill
|
|
2
2
|
|
|
3
|
-
JPEG XL (JXL) polyfill for browsers without native support. Decodes JXL images to PNG using WebAssembly, powered by [jxl-rs](https://github.com/libjxl/jxl-rs).
|
|
3
|
+
JPEG XL (JXL) polyfill for browsers without native support. Decodes JXL images to PNG/APNG using WebAssembly, powered by [jxl-rs](https://github.com/libjxl/jxl-rs).
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
7
|
- **Zero-config CDN usage** - Just add a script tag
|
|
8
|
+
- **Animation support** - Animated JXL → APNG conversion
|
|
8
9
|
- **npm package** - Full control with TypeScript support
|
|
9
10
|
- **Automatic detection** - Skips polyfill if browser has native JXL support
|
|
10
11
|
- **Comprehensive coverage** - Handles `<img>`, CSS backgrounds, `<picture>`, SVG images
|
|
11
|
-
- **
|
|
12
|
+
- **Web Worker ready** - Non-blocking decode architecture
|
|
12
13
|
- **Caching** - Decoded images are cached for performance
|
|
13
14
|
|
|
14
15
|
## Quick Start
|