图片在浏览器本地处理;默认统计已关闭。以下源码与许可随应用提供。
Squoosh MT10 - Source, licenses and local data processing Base: GoogleChromeLabs/squoosh e8d35e0fb66eb16eff6fe8fc773eabcbb7128de3 (package 2.0.0). Modified 2026-10-20: /apps/squoosh/ URLs, manifest/scope/share-target, namespaced cache reads and deletion, namespaced interaction key, analytics removed, generated demonstration images and screenshots. No image data is sent to a conversion server. All application runtime assets are served locally. User-clicked upstream links are external. Main application: Apache-2.0. NOT all codecs are Apache-2.0. Imagequant: GPL-3.0-or-later plus original pngquant notices. Full license: ../licenses/imagequant-LICENSE.txt. The modified application source is supplied with the same delivery, preserving all applicable component licenses. Corresponding source (direct downloads in this same directory): 1. squoosh-mt10-source.zip: complete modified upstream tree, application TS/JS, codec wrappers, imagequant.cpp, Makefile, cpp.Dockerfile, dependency locks, upstream prebuilt WASM and MT10 patch. Excludes installed node_modules/build outputs. 2. libimagequant-2.12.1.tar.gz: exact upstream library source declared by that Makefile. Official URL: https://codeload.github.com/ImageOptim/libimagequant/tar.gz/refs/tags/2.12.1 SHA-256: 7035eb281bc9a49cf36db8db807b713d03a0ffe8c5abfbb17a9ea8a038f21d5e 3. native-source-origins.json / rust-source-origins.json: exact native and Cargo source locations, versions/checksums, including linked JPEG XL submodules. 4. wasm-provenance.json: every distributed WASM matches pinned upstream bytes. Application rebuild from squoosh-mt10-source.zip (Node 22.14.0, npm 10.9.2): npm ci --ignore-scripts --no-audit --no-fund npm run build The resulting build/ serves at /apps/squoosh/. Complete preparation/release and browser-verification scripts are in the MT10 delivery card. Native imagequant rebuild recipe (Linux + Docker; NOT executed in MT10): Extract squoosh-mt10-source.zip into a directory, then enter that directory. mkdir -p codecs/imagequant/node_modules/libimagequant tar -xzf /path/to/libimagequant-2.12.1.tar.gz --strip-components=1 -C codecs/imagequant/node_modules/libimagequant docker build -t mt10-squoosh-cpp -f codecs/cpp.Dockerfile . docker run --rm -v "$PWD/codecs/imagequant:/src" mt10-squoosh-cpp The upstream image pins emscripten/emsdk:2.0.34 and the Makefile disables SSE. This produces imagequant.js / imagequant.wasm and node variants using the included wrapper and flags. No bit-identical native rebuild or compiler attestation is claimed. Other distributed codecs/processors: AVIF/libavif 1.0.1 + libaom 3.7.0 + libsharpyuv; MozJPEG 3.3.1; WebP d2e245e; JPEG XL 9f54464 + brotli/highway/skcms; WebP2 413df7c; QOI 8d35d93; Rust OxiPNG 9.0.0, resize 0.5.5, hqx and rotate. Full notices are in ../licenses/NATIVE-LICENSES.txt, RUST-LICENSES.txt and per-codec LICENSE files. Browser JPEG/PNG rely on the visitor's browser. No font binaries are distributed. Runtime statistics/telemetry is disabled; package/build dependency inventories do not mean every listed package is bundled. Do not remove source or licenses when publishing a copy of this candidate.