LayerSplit uses open-source libraries for local, in-browser file decoding. The local /hif-to-jpg converter loads unmodified libheif and libde265 WebAssembly binaries at runtime from /vendor/libheif/ inside an isolated Web Worker, and the local /pdf-to-psd and /ai-to-psd converters load unmodified pdfjs-dist runtime scripts dynamically from /vendor/pdfjs/ so your files never leave your device.
1. libheif & libde265 (LGPL-3.0)
- Package & version:
libheif-js@1.23.5(wrappinglibheif 1.23.5withlibde26510-bit HEVC decoding) - License: GNU Lesser General Public License v3.0 (LGPL-3.0). Full license text: https://www.gnu.org/licenses/lgpl-3.0.html and bundled copy at /vendor/libheif/LICENSE.
- Dynamic loading boundary: The WebAssembly binary (
/vendor/libheif/libheif.wasm) and loader script (/vendor/libheif/libheif.js) are served as standalone static files and fetched dynamically at runtime, never statically bundled into application JavaScript chunks. - Corresponding source & build scripts:
- Upstream
libheifsource: https://github.com/strukturag/libheif - Upstream
libde265HEVC decoder source: https://github.com/strukturag/libde265 - Emscripten WebAssembly build scripts & distribution (
libheif-js@1.23.5): https://github.com/catdad-experiments/libheif-js
- Upstream
2. PDF.js / pdfjs-dist (Apache-2.0)
- Package & version:
pdfjs-dist@4.10.38(Mozilla PDF.js renderer for local browser rendering of PDF pages and PDF-compatible.aiartboards) - License: Apache License 2.0. Full license text: https://www.apache.org/licenses/LICENSE-2.0 and bundled copy at /vendor/pdfjs/LICENSE.
- Dynamic loading boundary: The runtime script (
/vendor/pdfjs/pdf.min.mjs) and Web Worker (/vendor/pdfjs/pdf.worker.min.mjs) are served as standalone static files and loaded dynamically only on/pdf-to-psdand/ai-to-psd, never statically bundled into application JavaScript chunks. - Upstream source: https://github.com/mozilla/pdf.js
3. Other Browser Tool Libraries
- JSZip (MIT / GPLv3 dual-licensed, used under MIT terms) for client-side batch ZIP archive creation.
- ag-psd (MIT) for browser-side PSD encoding and layer inspection.
- gifenc & gifuct-js (MIT) for client-side GIF decoding and encoding.
4. Footer Brand & Search Icons
- @lobehub/icons-static-svg (MIT) for the ChatGPT, Claude, Perplexity, Grok, Google AI Mode (Gemini mark), Google, and Bing inline SVG icons (https://github.com/lobehub/lobe-icons).
- svgl (MIT) for the DuckDuckGo inline SVG icon (https://github.com/pheralb/svgl).
- Stripe Climate badge from the official Stripe Climate Asset Kit, used under the Stripe Marks Usage Agreement. Brand trademarks belong to their respective owners and are used solely on links to their services.