CooksApp HEIC conversion notices and corresponding source The optional HEIC decoder is libheif-js 1.23.2 by Kiril Vatev, using libheif and libde265. These libraries are distributed under the GNU Lesser General Public License. They are provided without warranty. See LGPL-3.0.txt, GPL-3.0.txt, libheif-LICENSE.txt, and the copyright/license notices retained inside the source archives. No library source modifications were made. Corresponding sources are available alongside this notice, without login: libheif-js-1.23.2-source.tar.gz libheif-emscripten-1.23.2-source.tar.gz libheif-source.tar.gz libde265-1.0.15-source.tar.gz Pinned upstream sources: https://github.com/catdad-experiments/libheif-js/tree/6ca00b818c0ff51cb2a5c75b9ce97d708083335a https://github.com/catdad-experiments/libheif-emscripten/tree/v1.23.2 https://github.com/strukturag/libheif/tree/ac1cb05c39008f01525c991ff8b88f84ddf70fd2 https://github.com/strukturag/libde265/tree/v1.0.15 Build/replacement information: The emscripten archive contains the upstream build workflow and dist-prep.sh. Put the supplied libheif source in its libheif subdirectory; use Emscripten 3.1.61 and the included workflow. The WASM variant builds with USE_WASM=1, USE_UNSAFE_EVAL=0, and USE_TYPESCRIPT=1. The build script uses libde265 1.0.15 (source supplied here); other optional decoders are disabled. libheif-js scripts/install.js and scripts/bundle.js contain the wrapper bundling steps. No runtime CDN is used: the application serves the decoder in a separate lazy worker chunk, and a new worker is created for each conversion. CooksApp's small worker adapter and limits are supplied here as cooksapp-heic.worker.ts.txt and cooksapp-heic-format.ts.txt under the MIT License (see below). Remove the .txt suffix and rename the latter to heic-format.ts; preserve that relative import, and bundle the worker with Vite 8.0.13 and libheif-js 1.23.2 to build a replacement worker using a compatible modified library. Configure Vite's worker.format as iife (the default). The worker accepts {file: File} and returns {blob: Blob} for an image/jpeg result or {error: string}. The web application's lib/normalize-photo.ts calls this worker via Worker URL. Users may modify the LGPL components and reverse engineer the combined work to debug those modifications as permitted by the LGPL; no CooksApp restriction limits those rights. Native distribution packaging remains a separate release step and must preserve these notices and sources. MIT License for the two CooksApp adapter files only: Copyright (c) 2026 Top Marine Supply LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.