Use OffscreenCanvas and WebGL2 context to decode webp images (#90)

This commit is contained in:
Noeri Huisman
2025-07-04 14:16:23 +02:00
committed by GitHub
parent ba8083e8bf
commit ef24ed0e9c
3 changed files with 49 additions and 20 deletions
-16
View File
@@ -9,7 +9,6 @@
"version": "0.1.4",
"license": "MIT",
"dependencies": {
"@jsquash/webp": "^1.5.0",
"fflate": "^0.8.2"
},
"devDependencies": {
@@ -707,15 +706,6 @@
"@jridgewell/sourcemap-codec": "^1.4.10"
}
},
"node_modules/@jsquash/webp": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@jsquash/webp/-/webp-1.5.0.tgz",
"integrity": "sha512-KggLoj2MnRSfIqTeKe1EmbljTX2vuV7mh79k89PCL1pyqiDULcPM1L47twxXt0hkb68F70bXiL31MxsuoZtKFw==",
"license": "Apache-2.0",
"dependencies": {
"wasm-feature-detect": "^1.2.11"
}
},
"node_modules/@microsoft/api-extractor": {
"version": "7.52.8",
"resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.52.8.tgz",
@@ -2900,12 +2890,6 @@
"dev": true,
"license": "MIT"
},
"node_modules/wasm-feature-detect": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/wasm-feature-detect/-/wasm-feature-detect-1.8.0.tgz",
"integrity": "sha512-zksaLKM2fVlnB5jQQDqKXXwYHLQUVH9es+5TOOHwGOVJOCeRBCiPjwSg+3tN2AdTCzjgli4jijCH290kXb/zWQ==",
"license": "Apache-2.0"
},
"node_modules/which": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",