@qrcommunication/gigapdf-lib 0.38.0 → 0.40.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.40.0] - 2026-06-17
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **AVIF: full (non-reduced) sequence + frame header.** `decodeAvif` now decodes
|
|
12
|
+
AVIFs whose AV1 sequence header is *not* `reduced_still_picture_header` — e.g.
|
|
13
|
+
produced by ffmpeg/libaom without `-still-picture`, and various other encoders.
|
|
14
|
+
Previously these failed to parse (the header path returned nothing). The
|
|
15
|
+
streaming sequence header (timing/decoder-model info, operating-points loop,
|
|
16
|
+
frame-id numbers, order-hint feature flags) and the KEY-frame frame-header
|
|
17
|
+
preamble — including the `disable_frame_end_update_cdf` bit the reduced header
|
|
18
|
+
omits — are parsed bit-exact against dav1d. Only shown KEY/intra stills are
|
|
19
|
+
decoded; references to previously decoded frames and inter frames are rejected.
|
|
20
|
+
|
|
21
|
+
## [0.39.0] - 2026-06-17
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- **AVIF: palette mode (AV1 §5.11.46-50).** The AV1 intra decoder behind
|
|
26
|
+
`decodeAvif` now decodes screen-content palette blocks (logos, UI, charts,
|
|
27
|
+
flat-colour graphics), validated bit-exact against dav1d. Per palette block:
|
|
28
|
+
the colour table (neighbour-palette prediction cache with merge/dedup, reuse
|
|
29
|
+
flags, then delta-coded new entries; U plus delta/literal V for chroma), the
|
|
30
|
+
per-pixel index map (anti-diagonal wave-front scan with the colour-order
|
|
31
|
+
context model), and reconstruction from `palette[index]` — with the transform
|
|
32
|
+
residual added on top for non-skipped blocks. Previously such AVIFs aborted on
|
|
33
|
+
an unsupported-mode guard.
|
|
34
|
+
|
|
7
35
|
## [0.38.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.40.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",
|