@qrcommunication/gigapdf-lib 0.37.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/gigapdf.wasm +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,34 @@ All notable changes to `@qrcommunication/gigapdf-lib` are documented here.
|
|
|
4
4
|
The format follows [Keep a Changelog](https://keepachangelog.com/) and the
|
|
5
5
|
project adheres to [Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [0.39.0] - 2026-06-17
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **AVIF: palette mode (AV1 §5.11.46-50).** The AV1 intra decoder behind
|
|
12
|
+
`decodeAvif` now decodes screen-content palette blocks (logos, UI, charts,
|
|
13
|
+
flat-colour graphics), validated bit-exact against dav1d. Per palette block:
|
|
14
|
+
the colour table (neighbour-palette prediction cache with merge/dedup, reuse
|
|
15
|
+
flags, then delta-coded new entries; U plus delta/literal V for chroma), the
|
|
16
|
+
per-pixel index map (anti-diagonal wave-front scan with the colour-order
|
|
17
|
+
context model), and reconstruction from `palette[index]` — with the transform
|
|
18
|
+
residual added on top for non-skipped blocks. Previously such AVIFs aborted on
|
|
19
|
+
an unsupported-mode guard.
|
|
20
|
+
|
|
21
|
+
## [0.38.0] - 2026-06-17
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- **AVIF: CDEF in-loop filter (AV1 §7.15).** The AV1 intra decoder behind
|
|
26
|
+
`decodeAvif` now applies the Constrained Directional Enhancement Filter after
|
|
27
|
+
deblocking, so AVIFs encoded with CDEF (the common case) decode without ringing
|
|
28
|
+
/ directional artifacts. Per coded 8×8 luma block: an eight-way direction
|
|
29
|
+
search, a variance-adjusted primary tap set along that direction plus secondary
|
|
30
|
+
taps at ±45°, and the matching 4:2:0 chroma pass — each soft-thresholded by the
|
|
31
|
+
signalled strength + damping. Validated **bit-exact** against dav1d on luma and
|
|
32
|
+
chroma stills. Current scope: the single-strength (`cdef_bits == 0`) case;
|
|
33
|
+
per-block strength indices and loop restoration remain pending.
|
|
34
|
+
|
|
7
35
|
## [0.37.0] - 2026-06-17
|
|
8
36
|
|
|
9
37
|
### Changed
|
package/gigapdf.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qrcommunication/gigapdf-lib",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0",
|
|
4
4
|
"description": "TypeScript SDK for gigapdf-lib — a zero-dependency Rust→WASM PDF engine: read/edit/render, OCR, full-text search, AcroForm fields (read · fill · create), annotations, signing, encryption, PDF↔Office/HTML/RTF conversions, and a native HTML+CSS+JavaScript→PDF renderer (no headless browser; a suspendable JS VM gives lazy generators and spec-ordered async). Self-contained .wasm, no third-party runtime deps.",
|
|
5
5
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
6
6
|
"author": "Rony Licha / QR Communication",
|