# Local image/document decoders, v893 All conversion libraries are loaded from this site's own origin. No runtime CDN, document URL, external component download or conversion API is used. ## DjVu.js 0.5.4 Author: RussCoder and contributors. License: GPL-2.0-or-later; retained upstream notices: [DJVU-LICENSE.txt](DJVU-LICENSE.txt), full license: [GPL-2.0.txt](GPL-2.0.txt). Pinned official release: `L.0.5.4_V.0.10.1`, source commit `b41bd0557bd5b0376b56c8bd0bd0ffde6104405f`. Official source: . The unmodified, readable `djvu.js` is the official release asset. Download the complete corresponding preferred-form source and build files in [djvujs-0.5.4-source.bin](djvujs-0.5.4-source.bin), a ZIP archive served with a .zip download filename. The same files are also included under `source/library/src/` with `source/library/package.json`, `package-lock.json` and `rollup.config.js`. The ZIP also includes the runtime dependency's full pngjs 5.0.0 source package with its MIT license and readable browser.js, fetched from the official npm distribution. Build the upstream source in a preparation environment with Node.js and its pinned lockfile (`npm ci --ignore-scripts`, then `npm run build` in `source/library`). The official upstream distribution is used here; rebuilding is not part of a user's conversion. The StroyKalk adapter is distributed as readable source under GPL-2.0-or-later: [image-document-worker.js](image-document-worker.js) and [/assets/docs-v893/image-document-engine.js](/assets/docs-v893/image-document-engine.js). The adapter rejects indirect documents before invoking DjVu.js and blocks network APIs in its dedicated worker. It resets every decoded DjVu page and terminates its worker on completion, failure and cancellation. ## UTIF.js 3.1.0 Author: Photopea / Ivan Kutskir and contributors. License: MIT; full notice: [UTIF-LICENSE](UTIF-LICENSE). Pinned official source commit `588351078202eebccdb3ba996f5b98c640e4265a`: . `UTIF.js` is the unmodified readable source. The wrapper never calls its recursive IFD reader. A bounded independent reader validates IFD offsets, tag lengths, strip/tile ranges, channels, dimensions and cumulative pixel limits first, traverses SubIFDs to detect invalid cycles, and passes only validated main-page tag objects into `UTIF.decodeImage` in a disposable worker. Reduced-resolution IFDs and SubIFDs are excluded from PDF pages. Supported first-release profile: ordinary TIFF, 1/2/4/8-bit samples, up to four channels/32 bits per pixel, chunky layout, raw, CCITT G3/G4, LZW, PackBits and modern JPEG (Compression 7). Pixel profiles are explicitly checked; unsupported grayscale/alpha/bit-depth combinations are rejected before decoding. Legacy JPEG Compression 6, BigTIFF, RAW, 16-bit samples, planar channels and other compression methods are explicitly rejected. ## AVIF native decoding and local WebAssembly fallback AVIF first uses the browser's native static-image decoder after BMFF box/brand/dimension validation. Animated/avis sequences are rejected. When native decoding fails, a disposable local worker uses libheif 1.23.6 and dav1d 1.5.4, linked with zlib 1.3.2 using Emscripten 4.0.23. Native decoding was verified in the actual Yandex Browser; fallback decoding was verified in Playwright WebKit. Both paths support opaque images, alpha and orientation. The fallback limits images to 24 million pixels and 12,000 pixels per side, tracks allocations within 256 MiB and caps the WASM heap at 512 MiB. HDR color identity and metadata retention are not promised. The bridge and worker are LGPL-3.0-or-later. Upstream license texts and complete corresponding source, including the preferred-form bridge, build instructions, dependency sources and relink materials, are in [avif-corresponding-source-v893.bin](avif-corresponding-source-v893.bin), a ZIP archive served with a .zip download filename. This archive nests the unchanged v892 libheif/dav1d corresponding-source bundle together with the v893 modifications. Read [source/REBUILD-AVIF.txt](source/REBUILD-AVIF.txt) and [AVIF-PROVENANCE.json](AVIF-PROVENANCE.json). The existing HEIC tool retains its original bridge and assets. ## Shared writers PDF creation uses the existing local pdf-lib 1.17.1. ZIP and editable DOCX use the existing local JSZip and the new OOXML writer. Photo recognition reuses the existing OCR engine and its existing locally hosted language assets. Exact checksums of upstream files are in [manifest.json](manifest.json). Preparation downloads are reproducible via the QA source-fetch script; none of those requests execute during a user conversion.