二纪网页使用的第三方 HEIC 解码库(未修改) Third-party HEIC decoder used by 二纪 Web (unmodified) 本目录文件 / Files in this directory - libheif-bundle.mjs libheif-js 1.19.8 npm 包内 libheif-wasm/libheif-bundle.mjs 原样文件(未修改)。 Verbatim copy of libheif-wasm/libheif-bundle.mjs from the libheif-js 1.19.8 npm package. - BUILD.txt 用 source/ 中的源码重新构建该文件的步骤,以及替换方法。 How to rebuild this file from source/ and how to substitute your own build. - source/ 对应源码 / corresponding source(见下 / see below)。 - LICENSE-libheif.txt / LICENSE-libde265.txt / LICENSE-libheif-js.txt GNU LGPL 3.0 及其引用的 GNU GPL 3.0 全文。 - LICENSE-emscripten.txt / AUTHORS-emscripten.txt Emscripten 运行时与 embind(MIT 或 University of Illinois/NCSA)。 - LICENSE-llvm-libcxx.txt / LICENSE-llvm-libcxxabi.txt / LICENSE-llvm-compiler-rt.txt Apache-2.0 WITH LLVM-exception。 - CREDITS-llvm-libcxx.txt / CREDITS-llvm-libcxxabi.txt / CREDITS-llvm-compiler-rt.txt 上述 LICENSE 所指的 CREDITS.TXT。 - COPYRIGHT-musl.txt musl libc(MIT)。 - NOTICE-dlmalloc.txt dlmalloc(Doug Lea,公有领域 / public domain, CC0)。 内含组件 / Components inside libheif-bundle.mjs - libheif 1.19.8 LGPL-3.0 Copyright (c) 2017-2020 Struktur AG; Copyright (c) 2017-2025 Dirk Farin - libde265 1.0.15 LGPL-3.0 Copyright (c) 2013-2014 Struktur AG; Copyright (c) 2013-2023 Dirk Farin - libheif-js 1.19.8 LGPL-3.0 Kiril Vatev - Emscripten 运行时与 embind、libc++ / libc++abi、compiler-rt builtins、musl libc、dlmalloc(许可见上 / licences above) 对应源码 / Corresponding source - source/libheif-1.19.8.tar.gz - source/libde265-1.0.15.tar.gz - source/libheif-emscripten-1.19.8.tar.gz WebAssembly 构建流程 / WebAssembly build pipeline - source/libheif-js-1.19.8.tar.gz 打包脚本 / bundling scripts 替换说明 / How to replace 二纪网页以独立文件的方式,从固定地址 /vendor/libheif-js/1.19.8/libheif-bundle.mjs 加载此组件, 它没有被合并进二纪的其他代码。你可以按许可证修改它,并用接口相同的版本替换该文件 (例如在浏览器开发者工具中对该地址使用本地替换),二纪页面会使用你的版本。构建方法见 BUILD.txt。 二纪 Web loads this component as a separate file from the fixed URL above; it is not merged into other 二纪 code. You may modify it under the licence and substitute a build with the same interface (for example with a browser local override of this URL). See BUILD.txt.