modern-pdf-lib 0.35.0 → 0.37.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/README.md +3 -3
- package/dist/browser.cjs +22 -1
- package/dist/browser.d.cts +2 -2
- package/dist/browser.d.mts +2 -2
- package/dist/browser.mjs +2 -2
- package/dist/{index-CIdDdXlK.d.cts → index-BnS4WpNK.d.cts} +713 -3
- package/dist/index-BnS4WpNK.d.cts.map +1 -0
- package/dist/{index-CwgepM_G.d.mts → index-n0WBuf3b.d.mts} +713 -3
- package/dist/index-n0WBuf3b.d.mts.map +1 -0
- package/dist/index.cjs +22 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{src-C-mBizNU.cjs → src-CbPUzRbg.cjs} +2411 -15
- package/dist/{src-BlUlmYsU.mjs → src-DGxzt-jG.mjs} +2286 -16
- package/package.json +1 -1
- package/dist/index-CIdDdXlK.d.cts.map +0 -1
- package/dist/index-CwgepM_G.d.mts.map +0 -1
|
@@ -10400,6 +10400,716 @@ interface EncryptionReport {
|
|
|
10400
10400
|
*/
|
|
10401
10401
|
declare function inspectEncryption(pdf: Uint8Array): Promise<EncryptionReport>;
|
|
10402
10402
|
//#endregion
|
|
10403
|
+
//#region src/text/bidi.d.ts
|
|
10404
|
+
/**
|
|
10405
|
+
* @module text/bidi
|
|
10406
|
+
*
|
|
10407
|
+
* The Unicode Bidirectional Algorithm (UAX #9) for laying out mixed
|
|
10408
|
+
* left-to-right / right-to-left text.
|
|
10409
|
+
*
|
|
10410
|
+
* Reference: Unicode Standard Annex #9, "Unicode Bidirectional Algorithm",
|
|
10411
|
+
* revision 49 (Unicode 16.0.0). The rule labels referenced throughout this
|
|
10412
|
+
* file (P2/P3, X1–X10, W1–W7, N0–N2, I1/I2, L1/L2) are the rule numbers from
|
|
10413
|
+
* that document: https://www.unicode.org/reports/tr9/
|
|
10414
|
+
*
|
|
10415
|
+
* ## Scope and conformance
|
|
10416
|
+
*
|
|
10417
|
+
* This implements the full structural pipeline of UAX #9:
|
|
10418
|
+
* - P2/P3 paragraph base level (or an explicit / first-strong base),
|
|
10419
|
+
* - X1–X8 explicit embeddings & overrides (LRE/RLE/LRO/RLO/PDF),
|
|
10420
|
+
* - X5a–X6a directional isolates (LRI/RLI/FSI/PDI),
|
|
10421
|
+
* - X9/X10 removal of formatting characters and isolating run sequences,
|
|
10422
|
+
* - W1–W7 weak-type resolution,
|
|
10423
|
+
* - N0 paired brackets, N1/N2 neutral resolution,
|
|
10424
|
+
* - I1/I2 implicit level resolution,
|
|
10425
|
+
* - L1 reset of trailing/segment whitespace to the paragraph level,
|
|
10426
|
+
* - L2 reordering of the resolved levels into visual order.
|
|
10427
|
+
*
|
|
10428
|
+
* The one deliberate simplification is the **Bidi_Class lookup table**: rather
|
|
10429
|
+
* than embedding the entire ~150 KB Unicode Character Database, this module
|
|
10430
|
+
* uses a COMPACT, RANGE-BASED classifier (see {@link bidiClass}) covering the
|
|
10431
|
+
* code points that matter in practice for PDF text layout — Latin, Hebrew
|
|
10432
|
+
* (U+0590–05FF), Arabic (U+0600–06FF, U+0750–077F), the Arabic-Indic and
|
|
10433
|
+
* European digit groups, common neutrals/weaks, and every explicit-format and
|
|
10434
|
+
* isolate-format character. Code points outside the covered ranges default to
|
|
10435
|
+
* the rule-conformant fallbacks Unicode assigns to unassigned blocks (`R`/`AL`
|
|
10436
|
+
* for the Hebrew/Arabic/Thaana/Syriac default-RTL ranges, otherwise `L`). The
|
|
10437
|
+
* paired-bracket data for N0 likewise covers the ASCII and common typographic
|
|
10438
|
+
* bracket pairs rather than the full BidiBrackets.txt file.
|
|
10439
|
+
*
|
|
10440
|
+
* Because the class table is a curated subset (not the full UCD), this module
|
|
10441
|
+
* does NOT claim blanket UBA conformance for arbitrary Unicode input; it is
|
|
10442
|
+
* correct for the covered scripts and degrades to the standard default classes
|
|
10443
|
+
* elsewhere. The algorithm itself is the complete UAX #9 procedure.
|
|
10444
|
+
*
|
|
10445
|
+
* Pure logic — no Buffer, no fs, no require(); ESM only.
|
|
10446
|
+
*/
|
|
10447
|
+
/** Requested or resolved base direction for a paragraph. */
|
|
10448
|
+
type BidiDirection = "ltr" | "rtl" | "auto";
|
|
10449
|
+
/**
|
|
10450
|
+
* A maximal contiguous slice of the input that shares a single resolved
|
|
10451
|
+
* embedding level (and therefore a single visual direction).
|
|
10452
|
+
*/
|
|
10453
|
+
interface BidiRun {
|
|
10454
|
+
/** The logical-order substring covered by this run. */
|
|
10455
|
+
text: string;
|
|
10456
|
+
/** Resolved embedding level (even = LTR, odd = RTL). */
|
|
10457
|
+
level: number;
|
|
10458
|
+
/** Visual direction implied by the level's parity. */
|
|
10459
|
+
direction: "ltr" | "rtl";
|
|
10460
|
+
/** UTF-16 index into the original string where this run starts. */
|
|
10461
|
+
start: number;
|
|
10462
|
+
/** Length of this run in UTF-16 code units. */
|
|
10463
|
+
length: number;
|
|
10464
|
+
}
|
|
10465
|
+
/** Result of {@link resolveBidi}. */
|
|
10466
|
+
interface BidiResult {
|
|
10467
|
+
/** Same-level runs in logical order, partitioning the whole string. */
|
|
10468
|
+
runs: BidiRun[];
|
|
10469
|
+
/** Resolved embedding level for every UTF-16 code unit of the input. */
|
|
10470
|
+
levels: number[];
|
|
10471
|
+
/**
|
|
10472
|
+
* Visual order: `visualOrder[v]` is the logical index of the code unit that
|
|
10473
|
+
* should be painted at visual position `v` (left to right).
|
|
10474
|
+
*/
|
|
10475
|
+
visualOrder: number[];
|
|
10476
|
+
/** Resolved paragraph embedding level (0 = LTR, 1 = RTL). */
|
|
10477
|
+
baseLevel: number;
|
|
10478
|
+
}
|
|
10479
|
+
/**
|
|
10480
|
+
* Run the Unicode Bidirectional Algorithm (UAX #9) over `text`.
|
|
10481
|
+
*
|
|
10482
|
+
* Indices in the result refer to UTF-16 code units of the input string (the
|
|
10483
|
+
* same units JavaScript's `string[i]` and `.length` use). Astral characters
|
|
10484
|
+
* (surrogate pairs) are classified by their scalar value but occupy two code
|
|
10485
|
+
* units, both assigned the same level.
|
|
10486
|
+
*
|
|
10487
|
+
* @param text The logical-order input string.
|
|
10488
|
+
* @param base Paragraph direction: `'ltr'` / `'rtl'` force the base level;
|
|
10489
|
+
* `'auto'` (the default) derives it from the first strong character (P2/P3).
|
|
10490
|
+
* @returns The resolved levels, same-level runs, visual order and base level.
|
|
10491
|
+
*/
|
|
10492
|
+
declare function resolveBidi(text: string, base?: BidiDirection): BidiResult;
|
|
10493
|
+
/**
|
|
10494
|
+
* Convenience wrapper that returns `text` reordered into visual (left-to-right)
|
|
10495
|
+
* order via {@link resolveBidi}'s L2 result.
|
|
10496
|
+
*
|
|
10497
|
+
* Note: this performs pure reordering of code units. It does not apply Arabic
|
|
10498
|
+
* cursive shaping or mirror neutral glyphs; callers that need shaped glyphs
|
|
10499
|
+
* should pass the resolved runs to a shaping engine.
|
|
10500
|
+
*
|
|
10501
|
+
* @param text The logical-order input string.
|
|
10502
|
+
* @param base Paragraph direction (see {@link resolveBidi}).
|
|
10503
|
+
* @returns The visually reordered string.
|
|
10504
|
+
*/
|
|
10505
|
+
declare function reorderVisual(text: string, base?: BidiDirection): string;
|
|
10506
|
+
//#endregion
|
|
10507
|
+
//#region src/assets/font/variableFont.d.ts
|
|
10508
|
+
/**
|
|
10509
|
+
* @module assets/font/variableFont
|
|
10510
|
+
*
|
|
10511
|
+
* OpenType variable-font axis/instance model parsing — the 'fvar' (font
|
|
10512
|
+
* variations) and 'avar' (axis variations) tables.
|
|
10513
|
+
*
|
|
10514
|
+
* This module exposes the *variation model* of an OpenType variable font:
|
|
10515
|
+
* - the design-variation axes ('fvar' VariationAxisRecord array),
|
|
10516
|
+
* - the named instances ('fvar' InstanceRecord array),
|
|
10517
|
+
* - coordinate normalization from user scale to the normalized [-1, 0, +1]
|
|
10518
|
+
* scale, optionally refined by an 'avar' segment map.
|
|
10519
|
+
*
|
|
10520
|
+
* SCOPE NOTE — explicitly OUT OF SCOPE for this module:
|
|
10521
|
+
* Actual glyph-outline instancing (baking 'gvar'/'cvar' deltas into a static
|
|
10522
|
+
* font at a chosen coordinate, or interpolating 'glyf' outlines) is NOT
|
|
10523
|
+
* performed here. This module only models axes/instances and normalizes
|
|
10524
|
+
* coordinates, which is the foundation those operations build on.
|
|
10525
|
+
*
|
|
10526
|
+
* NAME RESOLUTION NOTE:
|
|
10527
|
+
* The human-readable axis/instance names live in the 'name' table. Decoding
|
|
10528
|
+
* them is optional per the task; this module does NOT resolve them and leaves
|
|
10529
|
+
* `name` undefined, preserving the numeric name IDs (`axisNameID` /
|
|
10530
|
+
* `subfamilyNameID` / `postScriptNameID`) so a caller can resolve them later.
|
|
10531
|
+
*
|
|
10532
|
+
* Spec references (OpenType 1.9.1, Microsoft Typography):
|
|
10533
|
+
* - 'fvar': https://learn.microsoft.com/en-us/typography/opentype/spec/fvar
|
|
10534
|
+
* - 'avar': https://learn.microsoft.com/en-us/typography/opentype/spec/avar
|
|
10535
|
+
* - Data types (Fixed, F2DOT14, Tag, Offset16):
|
|
10536
|
+
* https://learn.microsoft.com/en-us/typography/opentype/spec/otff#data-types
|
|
10537
|
+
* - Normalization pseudocode:
|
|
10538
|
+
* https://learn.microsoft.com/en-us/typography/opentype/spec/otvaroverview#coordinate-scales-and-normalization
|
|
10539
|
+
*
|
|
10540
|
+
* No external dependencies. No Buffer — Uint8Array + DataView only. Big-endian.
|
|
10541
|
+
*/
|
|
10542
|
+
/**
|
|
10543
|
+
* A single design-variation axis from the 'fvar' VariationAxisRecord.
|
|
10544
|
+
*
|
|
10545
|
+
* Coordinate values (`minValue`, `defaultValue`, `maxValue`) are in *user
|
|
10546
|
+
* scale* (the scale specific to the axis tag, e.g. 100..900 for 'wght').
|
|
10547
|
+
*/
|
|
10548
|
+
interface VariationAxis {
|
|
10549
|
+
/** Four-character axis tag, e.g. 'wght', 'wdth', 'ital', 'opsz', 'slnt'. */
|
|
10550
|
+
tag: string;
|
|
10551
|
+
/** Minimum user-scale coordinate value. */
|
|
10552
|
+
minValue: number;
|
|
10553
|
+
/** Default user-scale coordinate value (the default instance). */
|
|
10554
|
+
defaultValue: number;
|
|
10555
|
+
/** Maximum user-scale coordinate value. */
|
|
10556
|
+
maxValue: number;
|
|
10557
|
+
/**
|
|
10558
|
+
* Human-readable axis name resolved from the 'name' table via `axisNameID`.
|
|
10559
|
+
* Not resolved by this module — always `undefined` here.
|
|
10560
|
+
*/
|
|
10561
|
+
name?: string | undefined;
|
|
10562
|
+
/** Axis qualifier flags. Bit 0 (0x0001) = HIDDEN_AXIS; others reserved. */
|
|
10563
|
+
flags: number;
|
|
10564
|
+
}
|
|
10565
|
+
/**
|
|
10566
|
+
* A named instance (named design position) from an 'fvar' InstanceRecord.
|
|
10567
|
+
*/
|
|
10568
|
+
interface NamedInstance {
|
|
10569
|
+
/**
|
|
10570
|
+
* Human-readable subfamily name resolved from the 'name' table via `nameId`.
|
|
10571
|
+
* Not resolved by this module — always `undefined` here.
|
|
10572
|
+
*/
|
|
10573
|
+
name?: string | undefined;
|
|
10574
|
+
/** Axis tag → user-scale coordinate for this instance. */
|
|
10575
|
+
coordinates: Record<string, number>;
|
|
10576
|
+
/** The 'name' table name ID for this instance's subfamily name. */
|
|
10577
|
+
nameId: number;
|
|
10578
|
+
/**
|
|
10579
|
+
* Optional 'name' table name ID for this instance's PostScript name.
|
|
10580
|
+
* Present only when the font's InstanceRecord size includes it
|
|
10581
|
+
* (instanceSize == axisCount*4 + 6). A value of 0xFFFF means "ignore"
|
|
10582
|
+
* and is normalized to `undefined`.
|
|
10583
|
+
*/
|
|
10584
|
+
postScriptNameId?: number | undefined;
|
|
10585
|
+
}
|
|
10586
|
+
/**
|
|
10587
|
+
* A single 'avar' segment map for one axis: an ordered list of
|
|
10588
|
+
* (fromCoordinate, toCoordinate) pairs in normalized [-1, 1] space.
|
|
10589
|
+
*/
|
|
10590
|
+
type AvarSegmentMap = ReadonlyArray<{
|
|
10591
|
+
/** Default-normalized input coordinate (F2DOT14, in [-1, 1]). */fromCoordinate: number; /** Modified normalized output coordinate (F2DOT14, in [-1, 1]). */
|
|
10592
|
+
toCoordinate: number;
|
|
10593
|
+
}>;
|
|
10594
|
+
/**
|
|
10595
|
+
* The parsed variable-font model.
|
|
10596
|
+
*/
|
|
10597
|
+
interface VariableFontInfo {
|
|
10598
|
+
/** True iff the font has an 'fvar' table with at least one axis. */
|
|
10599
|
+
isVariable: boolean;
|
|
10600
|
+
/** The design-variation axes, in 'fvar' order. */
|
|
10601
|
+
axes: VariationAxis[];
|
|
10602
|
+
/** The named instances, in 'fvar' order. */
|
|
10603
|
+
namedInstances: NamedInstance[];
|
|
10604
|
+
/**
|
|
10605
|
+
* Parsed 'avar' segment maps, one per axis in 'fvar' order, if an 'avar'
|
|
10606
|
+
* table is present and well-formed. Undefined when there is no 'avar' table.
|
|
10607
|
+
*/
|
|
10608
|
+
avar?: AvarSegmentMap[] | undefined;
|
|
10609
|
+
}
|
|
10610
|
+
/**
|
|
10611
|
+
* Parse the variable-font model from raw OpenType/TrueType font bytes.
|
|
10612
|
+
*
|
|
10613
|
+
* If the font has no 'fvar' table (or it is malformed / has zero axes), the
|
|
10614
|
+
* font is treated as non-variable and
|
|
10615
|
+
* `{ isVariable: false, axes: [], namedInstances: [] }` is returned.
|
|
10616
|
+
*
|
|
10617
|
+
* @param fontData Raw font file bytes (sfnt: TrueType 0x00010000 or 'OTTO' CFF).
|
|
10618
|
+
* @returns The parsed {@link VariableFontInfo}.
|
|
10619
|
+
*/
|
|
10620
|
+
declare function parseVariableFont(fontData: Uint8Array): VariableFontInfo;
|
|
10621
|
+
/**
|
|
10622
|
+
* Normalize a user-scale coordinate for an axis to the normalized [-1, 0, +1]
|
|
10623
|
+
* scale, per the OpenType default-normalization algorithm.
|
|
10624
|
+
*
|
|
10625
|
+
* Steps:
|
|
10626
|
+
* 1. Clamp `userValue` to the axis's [minValue, maxValue].
|
|
10627
|
+
* 2. Map to normalized space: minValue→-1, defaultValue→0, maxValue→+1, with
|
|
10628
|
+
* linear interpolation on each side of the default (note: the slopes on the
|
|
10629
|
+
* two sides differ unless the default is exactly centered).
|
|
10630
|
+
* 3. If an 'avar' `segmentMap` is supplied, apply it to the result; otherwise
|
|
10631
|
+
* no avar adjustment is made (the caller can pass `info.avar[axisIndex]`).
|
|
10632
|
+
*
|
|
10633
|
+
* @param axis The axis whose user-scale bounds define the normalization.
|
|
10634
|
+
* @param userValue The user-scale coordinate (e.g. 250 for a 'wght' axis).
|
|
10635
|
+
* @param avar Optional 'avar' segment map for this axis.
|
|
10636
|
+
* @returns The normalized coordinate in [-1, 1].
|
|
10637
|
+
*/
|
|
10638
|
+
declare function normalizeAxisCoordinate(axis: VariationAxis, userValue: number, avar?: AvarSegmentMap | undefined): number;
|
|
10639
|
+
/**
|
|
10640
|
+
* Resolve a named instance's coordinates against the font's axes.
|
|
10641
|
+
*
|
|
10642
|
+
* Produces a complete axis-tag → user-scale-coordinate map covering every axis
|
|
10643
|
+
* in the font: any axis the instance does not specify is filled with that
|
|
10644
|
+
* axis's `defaultValue`, and any specified coordinate is clamped to the axis's
|
|
10645
|
+
* [minValue, maxValue] range (per the fvar "Variation Instance Selection"
|
|
10646
|
+
* rules). Coordinates for tags not present on any axis are ignored.
|
|
10647
|
+
*
|
|
10648
|
+
* @param info The parsed variable-font model.
|
|
10649
|
+
* @param instance The named instance to resolve.
|
|
10650
|
+
* @returns A validated axis-tag → user-scale coordinate map.
|
|
10651
|
+
*/
|
|
10652
|
+
declare function resolveInstanceCoordinates(info: VariableFontInfo, instance: NamedInstance): Record<string, number>;
|
|
10653
|
+
//#endregion
|
|
10654
|
+
//#region src/assets/font/colorFont.d.ts
|
|
10655
|
+
/**
|
|
10656
|
+
* A resolved COLR layer: the outline glyph id, the CPAL palette-entry index,
|
|
10657
|
+
* and the RGBA color (0..255 per channel) that index resolves to in the
|
|
10658
|
+
* selected palette.
|
|
10659
|
+
*/
|
|
10660
|
+
interface ColorGlyphLayer {
|
|
10661
|
+
/** The glyph id of the outline drawn for this layer. */
|
|
10662
|
+
glyphId: number;
|
|
10663
|
+
/** The CPAL palette-entry index used to color this layer. */
|
|
10664
|
+
paletteIndex: number;
|
|
10665
|
+
/** Resolved color as [r, g, b, a], each 0..255. */
|
|
10666
|
+
rgba: [number, number, number, number];
|
|
10667
|
+
}
|
|
10668
|
+
/** A single CPAL palette: an ordered list of RGBA colors (0..255 per channel). */
|
|
10669
|
+
interface CpalPalette {
|
|
10670
|
+
/** Palette entries as [r, g, b, a], each 0..255. */
|
|
10671
|
+
colors: [number, number, number, number][];
|
|
10672
|
+
}
|
|
10673
|
+
/** Summary of a font's color capability and its CPAL palettes. */
|
|
10674
|
+
interface ColorFontInfo {
|
|
10675
|
+
/** True if the font contains a 'COLR' table (i.e. has color glyphs). */
|
|
10676
|
+
hasColor: boolean;
|
|
10677
|
+
/** Number of palettes in the 'CPAL' table (0 if no CPAL table). */
|
|
10678
|
+
numPalettes: number;
|
|
10679
|
+
/** The parsed CPAL palettes (empty if no CPAL table). */
|
|
10680
|
+
palettes: CpalPalette[];
|
|
10681
|
+
}
|
|
10682
|
+
/**
|
|
10683
|
+
* Parse a font's color capability and CPAL palettes.
|
|
10684
|
+
*
|
|
10685
|
+
* `hasColor` is true iff the font contains a 'COLR' table. The palettes come
|
|
10686
|
+
* from the 'CPAL' table (which is required whenever 'COLR' is present, per the
|
|
10687
|
+
* OpenType spec). Color records are returned as RGBA (converted from the on-disk
|
|
10688
|
+
* BGRA layout).
|
|
10689
|
+
*
|
|
10690
|
+
* @param fontData - Raw sfnt font bytes (TrueType 0x00010000 or 'OTTO').
|
|
10691
|
+
* @returns Color info; `{ hasColor: false, numPalettes: 0, palettes: [] }` if
|
|
10692
|
+
* the font has no COLR/CPAL tables or cannot be parsed.
|
|
10693
|
+
*/
|
|
10694
|
+
declare function parseColorFont(fontData: Uint8Array): ColorFontInfo;
|
|
10695
|
+
/**
|
|
10696
|
+
* Resolve the COLR v0 layers of a base glyph into colored layers.
|
|
10697
|
+
*
|
|
10698
|
+
* For each layer of the requested base glyph, the layer's outline glyph id is
|
|
10699
|
+
* returned together with its CPAL palette-entry index and the RGBA color that
|
|
10700
|
+
* index resolves to in the selected palette.
|
|
10701
|
+
*
|
|
10702
|
+
* A glyph that is **not** a COLR base glyph (or a font with no COLR/CPAL table)
|
|
10703
|
+
* returns `[]` — such a glyph is drawn as a normal monochrome glyph.
|
|
10704
|
+
*
|
|
10705
|
+
* The special palette index `0xFFFF` ("foreground color") is preserved on the
|
|
10706
|
+
* layer's `paletteIndex` but, having no palette entry, resolves to the neutral
|
|
10707
|
+
* fallback `[0, 0, 0, 255]`; a renderer should substitute the active text color.
|
|
10708
|
+
*
|
|
10709
|
+
* @param fontData - Raw sfnt font bytes.
|
|
10710
|
+
* @param glyphId - The base glyph id to expand.
|
|
10711
|
+
* @param paletteIndex - Which CPAL palette to resolve colors from. Defaults to
|
|
10712
|
+
* palette 0 (the default palette). Out-of-range values fall back to palette 0.
|
|
10713
|
+
* @returns The ordered (bottom-first) list of colored layers, or `[]`.
|
|
10714
|
+
*/
|
|
10715
|
+
declare function getColorGlyphLayers(fontData: Uint8Array, glyphId: number, paletteIndex?: number): ColorGlyphLayer[];
|
|
10716
|
+
//#endregion
|
|
10717
|
+
//#region src/core/meshShading.d.ts
|
|
10718
|
+
/** Allowed widths for /BitsPerCoordinate (ISO 32000-2 §8.7.4.5.5, Table 84). */
|
|
10719
|
+
type BitsPerCoordinate = 8 | 16 | 24 | 32;
|
|
10720
|
+
/** Allowed widths for /BitsPerComponent (ISO 32000-2 §8.7.4.5.5, Table 84). */
|
|
10721
|
+
type BitsPerComponent = 8 | 16;
|
|
10722
|
+
/** Allowed widths for /BitsPerFlag (ISO 32000-2 §8.7.4.5.5, Table 84). */
|
|
10723
|
+
type BitsPerFlag = 2 | 8;
|
|
10724
|
+
/**
|
|
10725
|
+
* A single mesh vertex.
|
|
10726
|
+
*
|
|
10727
|
+
* `color` holds the **decoded** colour: either `n` components in the shading's
|
|
10728
|
+
* /ColorSpace, or a single parametric value `t` when the shading carries a
|
|
10729
|
+
* /Function. Coordinates are decoded user-space values, mapped through /Decode
|
|
10730
|
+
* at pack time.
|
|
10731
|
+
*/
|
|
10732
|
+
interface MeshVertex {
|
|
10733
|
+
/** Decoded x coordinate (mapped through /Decode `[xmin xmax]`). */
|
|
10734
|
+
x: number;
|
|
10735
|
+
/** Decoded y coordinate (mapped through /Decode `[ymin ymax]`). */
|
|
10736
|
+
y: number;
|
|
10737
|
+
/** Decoded colour: `n` components, or one parametric value `t`. */
|
|
10738
|
+
color: number[];
|
|
10739
|
+
}
|
|
10740
|
+
/**
|
|
10741
|
+
* A free-form (type 4) triangle: an ordered list of flagged vertices.
|
|
10742
|
+
*
|
|
10743
|
+
* Each vertex carries an edge flag (ISO 32000-2 §8.7.4.5.5, Table 85):
|
|
10744
|
+
* - `0` — starts a new (independent) triangle; must be followed by two more
|
|
10745
|
+
* flag-0 vertices.
|
|
10746
|
+
* - `1` — shares the (vb, vc) edge of the previous triangle.
|
|
10747
|
+
* - `2` — shares the (va, vc) edge of the previous triangle.
|
|
10748
|
+
*
|
|
10749
|
+
* A `triangles` entry need not literally be three vertices: callers may emit a
|
|
10750
|
+
* run of flagged vertices that the consumer assembles into triangles. The
|
|
10751
|
+
* builder simply packs the vertices in order.
|
|
10752
|
+
*/
|
|
10753
|
+
interface FreeFormTriangle {
|
|
10754
|
+
/** One or more flagged vertices, packed in order. */
|
|
10755
|
+
vertices: [FlaggedVertex, ...FlaggedVertex[]];
|
|
10756
|
+
}
|
|
10757
|
+
/** A {@link MeshVertex} carrying a type-4 edge flag (0, 1 or 2). */
|
|
10758
|
+
type FlaggedVertex = MeshVertex & {
|
|
10759
|
+
flag: number;
|
|
10760
|
+
};
|
|
10761
|
+
/**
|
|
10762
|
+
* A Coons patch (type 6) record (ISO 32000-2 §8.7.4.5.7).
|
|
10763
|
+
*
|
|
10764
|
+
* `flag` selects the record shape:
|
|
10765
|
+
* - `0` — new patch: `points` = 12 control points, `colors` = 4 corner colours.
|
|
10766
|
+
* - `1`–`3` — shared edge: `points` = 8 control points, `colors` = 2 colours.
|
|
10767
|
+
*/
|
|
10768
|
+
interface CoonsPatch {
|
|
10769
|
+
/** Edge flag 0–3. */
|
|
10770
|
+
flag: number;
|
|
10771
|
+
/** Control points as `[x, y]` pairs (12 for flag 0, 8 for flags 1–3). */
|
|
10772
|
+
points: [number, number][];
|
|
10773
|
+
/** Corner colours (4 for flag 0, 2 for flags 1–3). */
|
|
10774
|
+
colors: number[][];
|
|
10775
|
+
}
|
|
10776
|
+
/**
|
|
10777
|
+
* A tensor-product patch (type 7) record (ISO 32000-2 §8.7.4.5.8).
|
|
10778
|
+
*
|
|
10779
|
+
* `flag` selects the record shape:
|
|
10780
|
+
* - `0` — new patch: `points` = 16 control points, `colors` = 4 corner colours.
|
|
10781
|
+
* - `1`–`3` — shared edge: `points` = 12 control points, `colors` = 2 colours.
|
|
10782
|
+
*/
|
|
10783
|
+
interface TensorPatch {
|
|
10784
|
+
/** Edge flag 0–3. */
|
|
10785
|
+
flag: number;
|
|
10786
|
+
/** Control points as `[x, y]` pairs (16 for flag 0, 12 for flags 1–3). */
|
|
10787
|
+
points: [number, number][];
|
|
10788
|
+
/** Corner colours (4 for flag 0, 2 for flags 1–3). */
|
|
10789
|
+
colors: number[][];
|
|
10790
|
+
}
|
|
10791
|
+
/**
|
|
10792
|
+
* Keys common to every mesh shading dictionary
|
|
10793
|
+
* (ISO 32000-2 §8.7.4.5.5, Table 84).
|
|
10794
|
+
*/
|
|
10795
|
+
interface MeshShadingCommon {
|
|
10796
|
+
/** The shading colour space (name or array, e.g. an ICCBased ref array). */
|
|
10797
|
+
colorSpace: PdfName | PdfArray;
|
|
10798
|
+
/** Bits used per coordinate value: 8, 16, 24 or 32. */
|
|
10799
|
+
bitsPerCoordinate: BitsPerCoordinate;
|
|
10800
|
+
/** Bits used per colour component: 8 or 16. */
|
|
10801
|
+
bitsPerComponent: BitsPerComponent;
|
|
10802
|
+
/**
|
|
10803
|
+
* Bits used per edge flag: 2 or 8. Required for types 4, 6 and 7; ignored for
|
|
10804
|
+
* type 5 (which has no flags).
|
|
10805
|
+
*/
|
|
10806
|
+
bitsPerFlag: BitsPerFlag;
|
|
10807
|
+
/**
|
|
10808
|
+
* The /Decode array `[xmin xmax ymin ymax c1min c1max …]`, or
|
|
10809
|
+
* `[xmin xmax ymin ymax tmin tmax]` when {@link MeshShadingCommon.function}
|
|
10810
|
+
* is present.
|
|
10811
|
+
*/
|
|
10812
|
+
decode: number[];
|
|
10813
|
+
/**
|
|
10814
|
+
* Optional colour /Function. When present, each vertex/corner colour is a
|
|
10815
|
+
* single parametric value `t`; otherwise it is `n` components.
|
|
10816
|
+
*/
|
|
10817
|
+
function?: PdfDict | PdfArray | undefined;
|
|
10818
|
+
}
|
|
10819
|
+
/** Options for {@link buildFreeFormGouraudShading}. */
|
|
10820
|
+
interface FreeFormGouraudOptions extends MeshShadingCommon {
|
|
10821
|
+
/** Triangle runs whose flagged vertices are packed in order. */
|
|
10822
|
+
triangles: FreeFormTriangle[];
|
|
10823
|
+
}
|
|
10824
|
+
/**
|
|
10825
|
+
* Build a free-form Gouraud-shaded triangle mesh shading
|
|
10826
|
+
* (ISO 32000-2 §8.7.4.5.5, /ShadingType 4).
|
|
10827
|
+
*
|
|
10828
|
+
* Each vertex is packed as `flag · x · y · colour[n]`, MSB-first, with the flag
|
|
10829
|
+
* `bitsPerFlag` wide.
|
|
10830
|
+
*
|
|
10831
|
+
* @param options - the common mesh keys plus the triangle/vertex data.
|
|
10832
|
+
* @returns a {@link PdfStream} whose dict has /ShadingType 4 and whose body is
|
|
10833
|
+
* the packed vertex stream.
|
|
10834
|
+
*/
|
|
10835
|
+
declare function buildFreeFormGouraudShading(options: FreeFormGouraudOptions): PdfStream;
|
|
10836
|
+
/** Options for {@link buildLatticeFormGouraudShading}. */
|
|
10837
|
+
interface LatticeFormGouraudOptions extends Omit<MeshShadingCommon, "bitsPerFlag"> {
|
|
10838
|
+
/** Number of vertices in each row of the lattice (≥ 2). */
|
|
10839
|
+
verticesPerRow: number;
|
|
10840
|
+
/** All vertices in row-major order (no flags). */
|
|
10841
|
+
vertices: MeshVertex[];
|
|
10842
|
+
}
|
|
10843
|
+
/**
|
|
10844
|
+
* Build a lattice-form Gouraud-shaded triangle mesh shading
|
|
10845
|
+
* (ISO 32000-2 §8.7.4.5.6, /ShadingType 5).
|
|
10846
|
+
*
|
|
10847
|
+
* Vertices carry **no** flag; the mesh topology is implied by /VerticesPerRow.
|
|
10848
|
+
* Each vertex is packed as `x · y · colour[n]`, MSB-first.
|
|
10849
|
+
*
|
|
10850
|
+
* @param options - the common mesh keys (sans /BitsPerFlag) plus
|
|
10851
|
+
* /VerticesPerRow and the row-major vertex list.
|
|
10852
|
+
* @returns a {@link PdfStream} with /ShadingType 5 and /VerticesPerRow.
|
|
10853
|
+
*/
|
|
10854
|
+
declare function buildLatticeFormGouraudShading(options: LatticeFormGouraudOptions): PdfStream;
|
|
10855
|
+
/** Options for {@link buildCoonsPatchShading}. */
|
|
10856
|
+
interface CoonsPatchOptions extends MeshShadingCommon {
|
|
10857
|
+
/** Coons patches packed in order. */
|
|
10858
|
+
patches: CoonsPatch[];
|
|
10859
|
+
}
|
|
10860
|
+
/**
|
|
10861
|
+
* Build a Coons patch mesh shading
|
|
10862
|
+
* (ISO 32000-2 §8.7.4.5.7, /ShadingType 6).
|
|
10863
|
+
*
|
|
10864
|
+
* Each patch is packed as `flag · points · colours`. A flag-0 patch carries 12
|
|
10865
|
+
* control points and 4 corner colours; flags 1–3 carry 8 control points and 2
|
|
10866
|
+
* colours (the rest are inherited from the shared edge of the previous patch).
|
|
10867
|
+
*
|
|
10868
|
+
* @param options - the common mesh keys plus the patch list.
|
|
10869
|
+
* @returns a {@link PdfStream} with /ShadingType 6.
|
|
10870
|
+
*/
|
|
10871
|
+
declare function buildCoonsPatchShading(options: CoonsPatchOptions): PdfStream;
|
|
10872
|
+
/** Options for {@link buildTensorPatchShading}. */
|
|
10873
|
+
interface TensorPatchOptions extends MeshShadingCommon {
|
|
10874
|
+
/** Tensor-product patches packed in order. */
|
|
10875
|
+
patches: TensorPatch[];
|
|
10876
|
+
}
|
|
10877
|
+
/**
|
|
10878
|
+
* Build a tensor-product patch mesh shading
|
|
10879
|
+
* (ISO 32000-2 §8.7.4.5.8, /ShadingType 7).
|
|
10880
|
+
*
|
|
10881
|
+
* Identical packing to type 6 but a flag-0 patch carries 16 control points (the
|
|
10882
|
+
* 4 internal tensor points in addition to the 12 boundary points) plus 4 corner
|
|
10883
|
+
* colours; flags 1–3 carry 12 control points and 2 colours.
|
|
10884
|
+
*
|
|
10885
|
+
* @param options - the common mesh keys plus the patch list.
|
|
10886
|
+
* @returns a {@link PdfStream} with /ShadingType 7.
|
|
10887
|
+
*/
|
|
10888
|
+
declare function buildTensorPatchShading(options: TensorPatchOptions): PdfStream;
|
|
10889
|
+
//#endregion
|
|
10890
|
+
//#region src/color/iccTransform.d.ts
|
|
10891
|
+
/**
|
|
10892
|
+
* @module color/iccTransform
|
|
10893
|
+
*
|
|
10894
|
+
* Apply an ICC profile's **matrix/TRC** colour model to transform device
|
|
10895
|
+
* colour into the Profile Connection Space (PCS), for the common
|
|
10896
|
+
* RGB-display and grayscale cases, plus the CIE L\*a\*b\* conversion.
|
|
10897
|
+
*
|
|
10898
|
+
* Two ICC profile shapes can describe a display/input transform:
|
|
10899
|
+
*
|
|
10900
|
+
* - **Matrix/TRC** — three (RGB) or one (gray) one-dimensional tone-response
|
|
10901
|
+
* curves followed by a 3×3 colorant matrix. This is what virtually every
|
|
10902
|
+
* monitor (`mntr`) RGB profile and most gray profiles use. This module
|
|
10903
|
+
* implements exactly this model.
|
|
10904
|
+
* - **LUT-based** — `mft1`/`mft2` (`lut8`/`lut16`) or `mAB `/`mBA `
|
|
10905
|
+
* (`lutAtoBType`/`lutBtoAType`) multidimensional tables (A2B0/B2A0 …). These
|
|
10906
|
+
* cannot be evaluated as a matrix/TRC and are explicitly **rejected** rather
|
|
10907
|
+
* than silently mis-computed.
|
|
10908
|
+
*
|
|
10909
|
+
* For a matrix/TRC RGB profile the forward device→PCS transform is
|
|
10910
|
+
* (ICC.1:2010 §E.1.1, "RGB Device to PCS"):
|
|
10911
|
+
*
|
|
10912
|
+
* ```
|
|
10913
|
+
* [ X ] [ rX gX bX ] [ TRC_r(r) ]
|
|
10914
|
+
* [ Y ] = [ rY gY bY ] [ TRC_g(g) ]
|
|
10915
|
+
* [ Z ] [ rZ gZ bZ ] [ TRC_b(b) ]
|
|
10916
|
+
* ```
|
|
10917
|
+
*
|
|
10918
|
+
* where the matrix columns are the `rXYZ`/`gXYZ`/`bXYZ` colorant tags and each
|
|
10919
|
+
* `TRC_*` is the linearising tone-response curve from `rTRC`/`gTRC`/`bTRC`
|
|
10920
|
+
* (`kTRC` for gray). The resulting XYZ is **D50-relative**, matching the ICC
|
|
10921
|
+
* PCS reference illuminant (ICC.1:2010 §6.3.4.3, PCS = CIEXYZ relative to D50 =
|
|
10922
|
+
* `[0.9642, 1.0000, 0.8249]`).
|
|
10923
|
+
*
|
|
10924
|
+
* Spec references (ICC.1:2010-12, "Image technology colour management —
|
|
10925
|
+
* Architecture, profile format and data structure"):
|
|
10926
|
+
* - §7.2 profile header layout (version o8, deviceClass o12, colour space
|
|
10927
|
+
* o16, PCS o20).
|
|
10928
|
+
* - §7.3 tag table (o128: u32 count, then 12-byte records {sig, offset, size}).
|
|
10929
|
+
* - §4.2 s15Fixed16Number = signed int32 / 65536.
|
|
10930
|
+
* - §10.6 curveType ('curv': u32 count; 0 = identity, 1 = u8Fixed8 gamma,
|
|
10931
|
+
* n≥2 = uInt16 sampled curve over the domain [0,1]).
|
|
10932
|
+
* - §10.18 parametricCurveType ('para': u16 function type + s15Fixed16 params).
|
|
10933
|
+
* - §10.31 XYZType ('XYZ ': reserved + n × (3 × s15Fixed16)).
|
|
10934
|
+
*
|
|
10935
|
+
* No Buffer — uses `Uint8Array` / `DataView` exclusively.
|
|
10936
|
+
*/
|
|
10937
|
+
/**
|
|
10938
|
+
* Summary of an ICC profile header plus whether it carries a usable
|
|
10939
|
+
* matrix/TRC model.
|
|
10940
|
+
*/
|
|
10941
|
+
interface IccTransformInfo {
|
|
10942
|
+
/**
|
|
10943
|
+
* Raw profile version word from header offset 8 (big-endian u32). For
|
|
10944
|
+
* example `0x02100000` = v2.1, `0x04300000` = v4.3.
|
|
10945
|
+
*/
|
|
10946
|
+
readonly version: number;
|
|
10947
|
+
/** Device class signature from offset 12 (e.g. `'mntr'`, `'prtr'`, `'scnr'`). */
|
|
10948
|
+
readonly deviceClass: string;
|
|
10949
|
+
/** Data colour space signature from offset 16 (e.g. `'RGB '`, `'GRAY'`, `'CMYK'`). */
|
|
10950
|
+
readonly colorSpace: string;
|
|
10951
|
+
/** Profile Connection Space signature from offset 20 (`'XYZ '` or `'Lab '`). */
|
|
10952
|
+
readonly pcs: string;
|
|
10953
|
+
/**
|
|
10954
|
+
* `true` when the profile carries a complete matrix/TRC model:
|
|
10955
|
+
* - RGB: `rXYZ` + `gXYZ` + `bXYZ` and `rTRC` + `gTRC` + `bTRC` all present.
|
|
10956
|
+
* - GRAY: `kTRC` present (the gray-colorant matrix degenerates to the
|
|
10957
|
+
* white point).
|
|
10958
|
+
*/
|
|
10959
|
+
readonly hasMatrixTrc: boolean;
|
|
10960
|
+
}
|
|
10961
|
+
/**
|
|
10962
|
+
* Parse the matrix/TRC-relevant header fields and detect whether the profile
|
|
10963
|
+
* carries a complete matrix/TRC model.
|
|
10964
|
+
*
|
|
10965
|
+
* Reads the 128-byte ICC header (ICC.1:2010 §7.2): version (offset 8),
|
|
10966
|
+
* deviceClass (offset 12), data colour space (offset 16) and PCS (offset 20),
|
|
10967
|
+
* then inspects the tag table (§7.3) for the colorant + TRC tags.
|
|
10968
|
+
*
|
|
10969
|
+
* @param profile - Raw ICC profile bytes.
|
|
10970
|
+
* @returns Parsed {@link IccTransformInfo}.
|
|
10971
|
+
* @throws if the profile is too short to contain a header and tag table.
|
|
10972
|
+
*
|
|
10973
|
+
* @example
|
|
10974
|
+
* ```ts
|
|
10975
|
+
* import { parseIccTransform } from 'modern-pdf-lib';
|
|
10976
|
+
*
|
|
10977
|
+
* const info = parseIccTransform(profileBytes);
|
|
10978
|
+
* if (info.hasMatrixTrc && info.colorSpace === 'RGB ') {
|
|
10979
|
+
* // safe to call deviceRgbToXyz
|
|
10980
|
+
* }
|
|
10981
|
+
* ```
|
|
10982
|
+
*/
|
|
10983
|
+
declare function parseIccTransform(profile: Uint8Array): IccTransformInfo;
|
|
10984
|
+
/**
|
|
10985
|
+
* Transform a device colour through a **matrix/TRC** ICC profile into the
|
|
10986
|
+
* D50-relative PCS XYZ.
|
|
10987
|
+
*
|
|
10988
|
+
* For RGB (`colorSpace === 'RGB '`): each channel is linearised through its
|
|
10989
|
+
* `rTRC`/`gTRC`/`bTRC` curve, then multiplied by the colorant matrix whose
|
|
10990
|
+
* columns are the `rXYZ`/`gXYZ`/`bXYZ` tags (ICC.1:2010 §E.1.1).
|
|
10991
|
+
*
|
|
10992
|
+
* For GRAY (`colorSpace === 'GRAY'`): the single value is linearised through
|
|
10993
|
+
* `kTRC` and scaled by the media white point (`wtpt`, defaulting to D50).
|
|
10994
|
+
*
|
|
10995
|
+
* The result is **D50-relative XYZ**, matching the ICC PCS reference
|
|
10996
|
+
* illuminant; feed it directly to {@link xyzToLab} (whose default white point
|
|
10997
|
+
* is D50).
|
|
10998
|
+
*
|
|
10999
|
+
* @param profile - Raw ICC profile bytes.
|
|
11000
|
+
* @param rgb - Device colour in `[0,1]`. For gray profiles only the first
|
|
11001
|
+
* component is used.
|
|
11002
|
+
* @returns PCS XYZ `[X, Y, Z]`, D50-relative.
|
|
11003
|
+
* @throws if the profile is **not** matrix/TRC (i.e. it is LUT-based —
|
|
11004
|
+
* `mft1`/`mft2`/`mAB `/`mBA `), or its colour space is unsupported.
|
|
11005
|
+
*
|
|
11006
|
+
* @example
|
|
11007
|
+
* ```ts
|
|
11008
|
+
* import { deviceRgbToXyz } from 'modern-pdf-lib';
|
|
11009
|
+
*
|
|
11010
|
+
* const xyz = deviceRgbToXyz(srgbProfileBytes, [1, 1, 1]);
|
|
11011
|
+
* // ~ [0.9642, 1.0, 0.8249] (D50 white)
|
|
11012
|
+
* ```
|
|
11013
|
+
*/
|
|
11014
|
+
declare function deviceRgbToXyz(profile: Uint8Array, rgb: [number, number, number]): [number, number, number];
|
|
11015
|
+
/**
|
|
11016
|
+
* Convert PCS XYZ to CIE L\*a\*b\* (CIE 15:2004 §8.2.1 / ICC PCS):
|
|
11017
|
+
*
|
|
11018
|
+
* ```
|
|
11019
|
+
* L* = 116·f(Y/Yn) − 16
|
|
11020
|
+
* a* = 500·(f(X/Xn) − f(Y/Yn))
|
|
11021
|
+
* b* = 200·(f(Y/Yn) − f(Z/Zn))
|
|
11022
|
+
* ```
|
|
11023
|
+
*
|
|
11024
|
+
* with f as in {@link labF}. The default reference white is **D50**
|
|
11025
|
+
* `[0.9642, 1.0000, 0.8249]`, matching the ICC PCS (ICC.1:2010 §6.3.4.3), so
|
|
11026
|
+
* XYZ produced by {@link deviceRgbToXyz} maps straight through.
|
|
11027
|
+
*
|
|
11028
|
+
* @param xyz - XYZ tristimulus, relative to `whitePoint`.
|
|
11029
|
+
* @param whitePoint - Reference white `[Xn, Yn, Zn]`. Defaults to D50.
|
|
11030
|
+
* @returns `[L*, a*, b*]`.
|
|
11031
|
+
*
|
|
11032
|
+
* @example
|
|
11033
|
+
* ```ts
|
|
11034
|
+
* import { xyzToLab } from 'modern-pdf-lib';
|
|
11035
|
+
*
|
|
11036
|
+
* xyzToLab([0.9642, 1.0, 0.8249]); // ~ [100, 0, 0] (D50 white)
|
|
11037
|
+
* ```
|
|
11038
|
+
*/
|
|
11039
|
+
declare function xyzToLab(xyz: [number, number, number], whitePoint?: [number, number, number]): [number, number, number];
|
|
11040
|
+
//#endregion
|
|
11041
|
+
//#region src/color/colorConvert.d.ts
|
|
11042
|
+
/**
|
|
11043
|
+
* Convert device RGB to HSL.
|
|
11044
|
+
*
|
|
11045
|
+
* @param r - Red, 0..1.
|
|
11046
|
+
* @param g - Green, 0..1.
|
|
11047
|
+
* @param b - Blue, 0..1.
|
|
11048
|
+
* @returns `[h, s, l]` with `h` in `[0, 360)`, `s`/`l` in `0..1`.
|
|
11049
|
+
*/
|
|
11050
|
+
declare function rgbToHsl(r: number, g: number, b: number): [number, number, number];
|
|
11051
|
+
/**
|
|
11052
|
+
* Convert HSL to device RGB.
|
|
11053
|
+
*
|
|
11054
|
+
* @param h - Hue in degrees (any real; wrapped into `[0, 360)`).
|
|
11055
|
+
* @param s - Saturation, 0..1.
|
|
11056
|
+
* @param l - Lightness, 0..1.
|
|
11057
|
+
* @returns `[r, g, b]`, each 0..1.
|
|
11058
|
+
*/
|
|
11059
|
+
declare function hslToRgb(h: number, s: number, l: number): [number, number, number];
|
|
11060
|
+
/**
|
|
11061
|
+
* Convert device RGB to HSV.
|
|
11062
|
+
*
|
|
11063
|
+
* @param r - Red, 0..1.
|
|
11064
|
+
* @param g - Green, 0..1.
|
|
11065
|
+
* @param b - Blue, 0..1.
|
|
11066
|
+
* @returns `[h, s, v]` with `h` in `[0, 360)`, `s`/`v` in `0..1`.
|
|
11067
|
+
*/
|
|
11068
|
+
declare function rgbToHsv(r: number, g: number, b: number): [number, number, number];
|
|
11069
|
+
/**
|
|
11070
|
+
* Convert HSV to device RGB.
|
|
11071
|
+
*
|
|
11072
|
+
* @param h - Hue in degrees (any real; wrapped into `[0, 360)`).
|
|
11073
|
+
* @param s - Saturation, 0..1.
|
|
11074
|
+
* @param v - Value, 0..1.
|
|
11075
|
+
* @returns `[r, g, b]`, each 0..1.
|
|
11076
|
+
*/
|
|
11077
|
+
declare function hsvToRgb(h: number, s: number, v: number): [number, number, number];
|
|
11078
|
+
/**
|
|
11079
|
+
* Convert device (sRGB) RGB to CIE XYZ relative to the D65 white point.
|
|
11080
|
+
*
|
|
11081
|
+
* Gamma-expands each channel, then applies the IEC 61966-2-1 sRGB→XYZ D65
|
|
11082
|
+
* matrix. The returned `Y` is `1.0` for input white `(1, 1, 1)`.
|
|
11083
|
+
*
|
|
11084
|
+
* @param r - Red, 0..1.
|
|
11085
|
+
* @param g - Green, 0..1.
|
|
11086
|
+
* @param b - Blue, 0..1.
|
|
11087
|
+
* @returns `[X, Y, Z]` (D65, `Y = 1` for white).
|
|
11088
|
+
*/
|
|
11089
|
+
declare function rgbToXyz(r: number, g: number, b: number): [number, number, number];
|
|
11090
|
+
/**
|
|
11091
|
+
* Convert CIE XYZ (D65) to device (sRGB) RGB.
|
|
11092
|
+
*
|
|
11093
|
+
* Applies the inverse sRGB matrix, then gamma-companding. Results are clamped
|
|
11094
|
+
* to `0..1` to keep them in the displayable device gamut.
|
|
11095
|
+
*
|
|
11096
|
+
* @param x - CIE X (D65).
|
|
11097
|
+
* @param y - CIE Y (D65).
|
|
11098
|
+
* @param z - CIE Z (D65).
|
|
11099
|
+
* @returns `[r, g, b]`, each clamped to 0..1.
|
|
11100
|
+
*/
|
|
11101
|
+
declare function xyzToRgb(x: number, y: number, z: number): [number, number, number];
|
|
11102
|
+
/**
|
|
11103
|
+
* Convert device (sRGB) RGB to CIE L\*a\*b\* via XYZ, using the D65 white
|
|
11104
|
+
* point.
|
|
11105
|
+
*
|
|
11106
|
+
* @param r - Red, 0..1.
|
|
11107
|
+
* @param g - Green, 0..1.
|
|
11108
|
+
* @param b - Blue, 0..1.
|
|
11109
|
+
* @returns `[L, a, b]` with `L ∈ [0, 100]`, `a`/`b` in their natural ranges.
|
|
11110
|
+
*/
|
|
11111
|
+
declare function rgbToLab(r: number, g: number, b: number): [number, number, number];
|
|
11112
|
+
//#endregion
|
|
10403
11113
|
//#region src/render/matrix.d.ts
|
|
10404
11114
|
/**
|
|
10405
11115
|
* @module render/matrix
|
|
@@ -11805,7 +12515,7 @@ declare function parseCiiXml(xml: string): Invoice;
|
|
|
11805
12515
|
*/
|
|
11806
12516
|
declare function detectFacturXProfile(xml: string): FacturXProfile | undefined;
|
|
11807
12517
|
declare namespace index_d_exports {
|
|
11808
|
-
export { AFDate_FormatEx, AFNumber_Format, AFRelationship, AFSpecial_Format, AccessibilityIssue, AccessibilityPluginOptions, AddBookmarkOptions, AnalysisReport, AnalyzeImagesOptions, Angle, AnnotationFlags, AnnotationOptions, AnnotationType, AppearanceProviderFor, AppendOptions, ApplyOcrOptions, AssociatedFileOptions, AssociatedFileResult, AutoTagOptions, AutoTagResult, BarcodeMatrix, BarcodeOptions, BarcodeReadResult, BatchErrorStrategy, BatchOptimizeOptions, BatchOptions, BatchProcessingError, BatchProgressCallback, BatchResult, BlendMode, BookmarkNode, BookmarkRef, BoxGeometry, ButtonAppearanceOptions, ByteRangeResult, ByteWriter, CIDFontData, CIDSystemInfoData, CalGrayParams, CalRGBParams, Canvas2DLike, CanvasRenderOptions, CaretSymbol, CatalogOptions, CellContent, CertPathResult, ChangeTracker, CheckboxAppearanceOptions, ChromaSubsampling, CmykColor, Code128Options, Code39Options, CodeFrameOptions, CollectionOptions, CollectionSchemaField, CollectionView, Color, ColorStop, CombedTextLayoutError, CompareOptions, ComputeFontSizeOptions, ContentStreamOperator, CounterSignatureInfo, CropBox, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE, DEFAULT_SARIF_TOOL_NAME, DataMatrixOptions, DataMatrixResult, DeclaredInvoiceTotals, DeduplicationReport, DeferredSignOptions, DeferredSignResult, Degrees, DeviceNColor, DiffEntry, DiffResult, DirectEmbedOptions, DirectEmbedResult, DisplayItem, DisplayList, DocTimeStampOptions, DocumentDiff, DocumentMetadata, DocumentPart, DocumentStructure, DownscaleOptions, DrawCircleOptions, DrawEllipseOptions, DrawImageOptions, DrawLineOptions, DrawPageOptions, DrawQrCodeOptions, DrawRectangleOptions, DrawSquareOptions, DrawSvgPathOptions, DrawTableOptions, DrawTextOptions, DropdownAppearanceOptions, DssData, EInvoiceIssue, EKU_OIDS, BarcodeOptions as EanOptions, EmbedFontOptions, EmbedPageOptions, EmbeddedFile, EmbeddedFont, EmbeddedPdfPage, EncryptAlgorithm, EncryptDictValues, EncryptOptions, EncryptedPayloadOptions, EncryptedPdfError, EncryptionReport, EnforcePdfAOptions, EnforcePdfAResult, EnforcementAction, ErrorCorrectionLevel, ExceededMaxLengthError, ExponentialFunction, ExternalSigner, ExtractedFont, ExtractedImage, ExtractedTable, FacturXAssembleOptions, FacturXProfile, FallbackFont, FallbackRun, FetchLike, FetchLikeResponse, FieldAlreadyExistsError, FieldExistsAsNonTerminalError, FieldFlags, FieldLockInfo, FieldLockOptions, FieldType, FileAttachmentIcon, FillItem, FlattenFormResult, FlattenOptions, FontDescriptorData, FontEmbeddingResult, FontFileFormat, FontMetrics, FontNotEmbeddedError, FontRef, ForeignPageError, FreeTextAlignment, FunctionShadingOptions, GradientFill, GrayscaleColor, HeaderFooterContent, HeaderFooterOptions, HeaderFooterPosition, IccProfile, IfdEntry, ImageAlignment, ImageAnalysis, ImageDpi, ImageFormat, ImageInfo, ImageItem, ImageOptimizeEntry, ImageOptimizeOptions, ImageRef, IncrementalChange, IncrementalObject, IncrementalSaveOptions, IncrementalSaveResult, InitWasmOptions, InterpretOptions, InvalidColorError, InvalidFieldNamePartError, InvalidPageSizeError, Invoice, InvoiceLine, InvoiceParty, ItfOptions, JpegDecodeResult, JpegMarkerInfo, JpegMetadata, JpegWasmModule, JsonReport, LIST_NUMBERING_KEY, LabParams, LayoutCombedOptions, LayoutMultilineOptions, LayoutMultilineResult, LayoutSinglelineOptions, LayoutSinglelineResult, LineCapStyle, LineEndingStyle, LineJoinStyle, LinearGradientOptions, LinearizationInfo, LinearizationOptions, LinkHighlightMode, ListNumbering, ListboxAppearanceOptions, LoadPdfOptions, LtvOptions, MATHML_NAMESPACE, MarkdownToPdfOptions, MarkedContentScope, Matrix, MdpPermission, MetadataPluginOptions, MissingOnValueCheckError, ModificationReport, ModificationViolation, ModificationViolationType, MultiPageTableResult, NamespaceDef, NestedTableContent, NoSuchFieldError, NormalizedStop, OcrEngine, OcrWord, Operand, OptimizationReport, OptimizeResult, OrderXType, OutlineDestination, OutlineItemOptions, OutputIntentOptions, OverflowMode, OverflowResult, OverlayAlignment, PDF2_NAMESPACE, PDFOperator, PageContent, PageEntry, PageLabelRange, PageLabelStyle, PageOutputIntentOptions, PageRange, PageSize, PageSizes, ParseSpeeds, ParsedPage, ParsedXmpMetadata, PatternFill, Pdf417Matrix, Pdf417Options, PdfA4ExtensionProperty, PdfA4ExtensionSchema, PdfA4Level, PdfA4Options, PdfAIssue, PdfALevel, PdfAProfile, PdfAValidationResult, PdfAXmpOptions, PdfAnnotation, PdfArray, PdfBool, PdfButtonField, PdfCaretAnnotation, PdfCheckboxField, PdfCircleAnnotation, PdfDict, PdfDocument, PdfDocumentBuilder, PdfDropdownField, PdfEncryptionHandler, PdfField, PdfFileAttachmentAnnotation, PdfForm, PdfFreeTextAnnotation, PdfFunctionDef, PdfHighlightAnnotation, PdfInkAnnotation, PdfLayer, PdfLayerManager, PdfLineAnnotation, PdfLinkAnnotation, PdfListboxField, PdfName, PdfNull, PdfNumber, PdfObject, PdfObjectRegistry, PdfOutlineItem, PdfOutlineTree, PdfPage, PdfParseError, PdfPermissionFlags, PdfPlugin, PdfPluginManager, PdfPolyLineAnnotation, PdfPolygonAnnotation, PdfPopupAnnotation, PdfRadioGroup, PdfRect, PdfRedactAnnotation, PdfRef, PdfSaveOptions, PdfSignatureField, PdfSignatureInfo, PdfSquareAnnotation, PdfSquigglyAnnotation, PdfStampAnnotation, PdfStream, PdfStreamWriter, PdfStrikeOutAnnotation, PdfString, PdfStructureElement, PdfStructureTree, PdfTextAnnotation, PdfTextField, PdfUa2Issue, PdfUa2Result, PdfUaEnforcementResult, PdfUaError, PdfUaLevel, PdfUaValidationResult, PdfUaWarning, PdfUnderlineAnnotation, PdfViewerPreferences, PdfVtConformance, PdfWorker, PdfWorkerOptions, PdfWriter, PdfX6Options, PdfX6Variant, PermissionFlags, PluginDocument, PluginError, PluginPage, PostScriptFunction, PreflightIssue, PrepareAppearanceOptions, PresetName, PresetOptions, ProfileXmpOptions, ProgressInfo, QrCodeMatrix, QrCodeOptions, RadialGradientFill, RadialGradientOptions, Radians, RadioAppearanceOptions, RangeFetchOptions, RangeFetcher, RasterImage, RawImageData, RecompressOptions, ReconstructOptions, RedactRect, RedactResult, RedactionLeak, RedactionMark, RedactionOperatorOptions, RedactionOptions, RedactionRegion, RedactionResult, RedactionVerificationReport, RefResolver, RegistryEntry, RemovePageFromEmptyDocumentError, RenderCache, RenderOptions, RequirementType, RgbColor, Rgba, RichTextFieldReadError, RuntimeKind, SARIF_SCHEMA_URI, SRGB_ICC_PROFILE, STANDARD_SPOT_FUNCTIONS, SampledFunction, SanitizeClass, SanitizeOptions, SanitizeReport, SarifLog, SarifResult, SarifRun, ScriptRun, SetTitleOptions, SignOptions, SignatureAlgorithm, SignatureAppearanceOptions, SignatureByteRange, SignatureChainEntry, SignatureChainResult, SignatureOptions, SignatureVerificationResult, SignerInfo, SoftMaskBuilder, SoftMaskGroupOptions, SoftMaskRef, SpotColor, StandardFontName, StandardFonts, StandardStampName, StitchingFunction, StreamingParseError, StreamingParseResult, StreamingParserEvent, StreamingParserOptions, StreamingPdfParser, StripOptions, StripResult, StrippedFeature, StrokeItem, StructureElementOptions, StructureType, StyledBarcodeOptions, SubPath, SubsetCmap, SubsetResult, SvgDrawCommand, SvgElement, SvgGradient, SvgGradientStop, SvgRenderOptions, TableCell, TableColumn, TableExtractOptions, TablePreset, TableRenderResult, TableRow, TaggedListItem, TaskRunner, TextAlignment$1 as TextAlignment, TextAnnotationIcon, TextAppearanceOptions, TextItem as TextDisplayItem, TextExtractionOptions, TextItem$1 as TextItem, Line as TextLine, Paragraph as TextParagraph, TextRenderingMode, TextRun, ThreatFinding, ThreatReport, ThreatSeverity, ThumbnailOptions, TiffCmykEmbedResult, TiffDecodeOptions, TiffIfdEntry, TiffImage, TileGrid, TileOptions, TilingPatternOptions, TimestampPluginOptions, TimestampResult, TrailerInfo, TransparencyFinding, TransparencyGroupOptions, TransparencyInfo, TrustStore, Type0FontData, Type1Halftone, UnexpectedFieldTypeError, BarcodeOptions as UpcOptions, VNode, ValidatableInvoice, ValidationFinding, ValidationLevel, RenderOptions$1 as VdomRenderOptions, ViewerPreferences, VisibleSignatureOptions, RecordMetadata as VtRecordMetadata, WasmLoaderConfig, WasmModuleName, WatermarkOptions, WebPImage, WidgetAnnotationHost, WidthEntry, WoffInfo, WorkerPool, WorkerPoolOptions, WrapperPayloadOptions, XRechnungOptions, XmpIssue, XmpValidationResult, accessibilityPlugin, addBookmark, addCounterSignature, addFieldLock, addVisibilityAction, addWatermark, addWatermarkToPage, aesDecryptCBC, aesEncryptCBC, analyzeImages, analyzeJpegMarkers, annotationFromDict, appendIncrementalUpdate, applyFillColor, applyHeaderFooter, applyHeaderFooterToPage, applyOcr, applyOverflow, applyPreset, applyRedaction, applyRedactions, applySpreadMethod, applyStrokeColor, applyTablePreset, asNumber, asPDFName, asPDFNumber, asPdfName, asPdfNumber, assembleFacturX, assembleTiles, attachAssociatedFiles, attachFile, attachOutputIntents, autoTagPage, base64Decode, base64Encode, batchFlatten, batchMerge, beginArtifact, beginArtifactWithType, beginLayerContent, beginMarkedContent, beginMarkedContentSequence, beginMarkedContentWithProperties, beginText, borderedPreset, buildAfArray, buildAnnotationDict, buildBlackPointCompensationExtGState, buildBoxDict, buildCalGray, buildCalRGB, buildCatalog, buildCertPath, buildCertificateChain, buildCollection, buildColorKeyMask, buildDPartRoot, buildDeviceNColorSpace, buildDocMdpReference, buildDocTimeStampDict, buildDocumentStructure, buildDssDictionary, buildEmbeddedFilesNameTree, buildEncryptedPayload, buildFacturXXmp, buildFieldLockDict, buildFunctionShading, buildGradientObjects, buildGtsPdfxVersion, buildImageSoftMask, buildInfoDict, buildLab, buildNamespace, buildNamespacesArray, buildOutputIntent, buildPageOutputIntent, buildPageTree, buildPatternObjects, buildPdfA4Xmp, buildPdfRIdentificationXmp, buildPdfUa2Xmp, buildPdfVtDParts, buildPdfX6OutputIntent, buildPdfXOutputIntent, buildPieceInfo, buildPkcs7Signature, buildRequirement, buildRequirements, buildSampledTransferFunction, buildSeparationColorSpace, buildSigningCertificateV2Attribute, buildSoftMaskGroupExtGState, buildSoftMaskNone, buildStencilMask, buildThresholdHalftone, buildTimestampRequest, buildType1Halftone, buildType5Halftone, buildUnencryptedWrapper, buildViewerPreferencesDict, buildVtDpm, buildWtpdfIdentificationXmp, buildXmpMetadata, calculateBarcodeDimensions, calculateEanCheckDigit, calculateUpcCheckDigit, canDirectEmbed, checkAccessibility, checkCertificateStatus, circlePath, clearWasmCache, clipEvenOdd, clip as clipOp, closeAndStroke, closeFillAndStroke, closeFillEvenOddAndStroke, closePath as closePathOp, cmyk, cmykToRgb, code128ToOperators, code39ToOperators, colorToComponents, colorToHex, compareImages, comparePages, componentsToColor, computeCode39CheckDigit, computeFileEncryptionKey, computeFontSize, computeImageDpi, computeObjectHash, computeSignatureHash, computeTargetDimensions, computeTileGrid, concatMatrix, concatMatrix as concatTransformationMatrix, configureWasmLoader, convertPdfAConformanceXmp, convertTiffCmykToRgb, convertToGrayscale, copyPages, countOccurrences, createAnnotation, createAssociatedFile, createMarkedContentScope, createPdf, createRangeFetcher, createSandbox, h as createVNode, createWorkerPool, createXmpStream, cropPage, curveToFinal, curveToInitial, curveTo as curveToOp, dataMatrixToOperators, decodeImageStream, decodeJpeg2000, decodeJpegWasm, decodePermissions, decodeStream, decodeTiff, decodeTiffAll, decodeTiffPage, decodeTile, decodeTileRegion, decodeWebP, decodeWoff, deduplicateImages, degrees, degreesToRadians, delinearizePdf, detectFacturXProfile, detectImageFormat, detectModifications, detectRuntime, detectTransparency, deviceNColor, deviceNResourceName, didYouMean, diffSignedContent, downloadCrl, downscale16To8, downscaleImage, drawImageWithMatrix, drawImageXObject, drawXObject as drawObject, drawSvgOnPage, drawXObject, ean13ToOperators, ean8ToOperators, ellipsePath, ellipsisText, embedIccProfile, embedLtvData, embedPageAsFormXObject, embedSignature, embedTiffCmyk, embedTiffDirect, encodeCode128, encodeCode128Values, encodeCode39, encodeContextTag, encodeDataMatrix, encodeEan13, encodeEan8, encodeInteger, encodeItf, encodeJpegWasm, encodeLength, encodeOID, encodeOctetString, encodePdf417, encodePermissions, encodePngFromPixels, encodePrintableString, encodeQrCode, encodeSequence, encodeSet, encodeUTCTime, encodeUpcA, encodeUtf8String, endArtifact, endLayerContent, endMarkedContent, endPath as endPathOp, endText, enforcePdfA, enforcePdfAFull, enforcePdfUa, enforcePdfX, estimateJpegQuality, estimateTextWidth, evaluateFunction, extractCrlUrls, extractEmbeddedRevocationData, extractFonts, extractIccProfile, extractImages$1 as extractImages, extractJpegMetadata, extractMetrics, extractOcspUrl, extractImages as extractPageImages, extractSigningCertificateV2, extractTables, extractText, extractTextWithPositions, extractXmpMetadata, fillAndStroke as fillAndStrokeOp, fillEvenOdd, fillEvenOddAndStroke, fill as fillOp, findChangedObjects, findExistingSignatures, findHyphenationPoints, findSignatures, flattenField, flattenFields, flattenForm, flattenTransparency, formatDate$1 as formatAcrobatDate, formatDate, formatHexContext, formatNumber, formatPdfDate, generateButtonAppearance, generateCheckboxAppearance, generateCiiXml, generateCircleAppearance, generateDropdownAppearance, generateFreeTextAppearance, generateHighlightAppearance, generateInkAppearance, generateLineAppearance, generateListboxAppearance, generateOrderX, generatePdfAXmp, generatePdfAXmpBytes, generateRadioAppearance, generateSignatureAppearance, generateSquareAppearance, generateSquigglyAppearance, generateSrgbIccProfile, generateStrikeOutAppearance, generateSymbolToUnicodeCmap, generateTextAppearance, generateThumbnail, generateUnderlineAppearance, generateWinAnsiToUnicodeCmap, generateXRechnungCii, generateZapfDingbatsToUnicodeCmap, getAttachments, getBookmarks, getCertificationLevel, getComponentDepths, getCounterSignatures, getFieldLocks, getFieldValue, getImageFormatName, getInlineWasmBytes, getInlineWasmSize, getLinearizationInfo, getPageLabels, getPageSize, getProfile, getRedactionMarks, getSignatures, getSupportedFormats, getSupportedLevels, getTiffPageCount, getToUnicodeCmap, grayscale, gtsPdfVtVersion, hasInlineWasmData, hasLtvData, hexToColor, identityTransferFunction, initJpegWasm, initWasm, injectJpegMetadata, insertPage, inspectEncryption, instantiateWasmModuleStreaming, interpolateLinearRgb, interpretContentStream, interpretPage, isAccessible, isCertificateRevoked, isCmykTiff, isGrayscaleImage, isJpegWasmReady, isLinearized, isOpenTypeCFF, isTiff, isTrueType, isValidLevel, isValidModuleName, isWasmDisabled, isWasmModuleCached, isWebP, isWebPLossless, isWoff, isWoff2, itfToOperators, labToRgb, layoutColumns, layoutCombedText, layoutMultilineText, layoutParagraph, layoutSinglelineText, layoutTextFlow, levenshtein, lineTo as lineToOp, linearGradient, linearizePdf, loadPdf, loadWasmModule, loadWasmModuleStreaming, markForRedaction, markdownToPdf, md5, mergePdfs, metadataPlugin, minimalPreset, movePage, moveText as moveTextOp, moveTextSetLeading, moveTo as moveToOp, nameHalftone, nextLine as nextLineOp, normalizeComponentDepth, offsetSignedToUnsigned, optimizeAllImages, optimizeImage, optimizeIncrementalSave, parseAcrobatDate, parseCiiXml, parseContentStream, parseExistingTrailer, parseIccColorSpace, parseIccDescription, parseSvg, parseSvgColor, parseSvgPath, parseSvgTransform, parseTiffIfd, parseTileInfo, parseTimestampResponse, parseViewerPreferences, parseXmpMetadata$1 as parseXmpMetadata, parseXmpMetadata as parseXmpPdfAMetadata, pdf417ToOperators, pdfA4Rules, restoreState as popGraphicsState, preflightPdfA, preloadInlineWasm, prepareForSigning, processBatch, professionalPreset, provideWasmBytes, saveState as pushGraphicsState, qrCodeToOperators, radialGradient, radians, radiansToDegrees, rasterize, rc4, readBarcode, readCode128, readCode39, readEan13, readEan8, readWoffHeader, recompressImage, recompressWebP, reconstructLines, reconstructParagraphs, rectangle as rectangleOp, redactRegions, registerEmbeddedFile, removeAllBookmarks, removeBookmark, removePage, removePageLabels, removePages, renderCodeFrame, renderDisplayListToCanvas, renderMultiPageTable, renderPageTile, renderPageToCanvas, renderPageToImage, renderStyledBarcode, renderTable, renderToPdf, replaceTemplateVariables, requestTimestamp, resetWasmLoader, resizePage, resolveFallback, resolveFieldReference, restoreState, reversePages, rgb, rgbToCmyk, rotateAllPages, rotate as rotateOp, rotatePage, rotationMatrix, sampleShadingColor, sanitizePdf, saveDocumentIncremental, saveIncremental, saveIncrementalWithSignaturePreservation, saveState, scale as scaleOp, scanPdfThreats, searchTextItems, serializePdf, setCertificationLevel, setCharacterSpacing as setCharacterSpacingOp, setCharacterSpacing as setCharacterSqueeze, setColorSpace, setDashPattern as setDashPatternOp, setFieldValue, setFieldVisibility, setFillColor, setFillColorCmyk, setFillColorGray, setFillColorRgb, setFillingColor, setFlatness, setFont as setFontAndSize, setFont as setFontOp, setFontSize as setFontSizeOp, setGraphicsState as setGraphicsStateOp, setLeading as setLeadingOp, setLineCap as setLineCapOp, setLeading as setLineHeight, setLineJoin as setLineJoinOp, setLineWidth as setLineWidthOp, setMiterLimit, setPageLabels, setStrokeColor, setStrokeColorCmyk, setStrokeColorGray, setStrokeColorRgb, setStrokeColorSpace, setStrokingColor, setTextMatrix as setTextMatrixOp, setTextRenderingMode as setTextRenderingModeOp, setTextRise as setTextRiseOp, setWordSpacing as setWordSpacingOp, sha256, sha384, sha512, showTextArray, showTextHex, showTextNextLine, showText as showTextOp, showTextWithSpacing, shrinkFontSize, signDeferred, signPdf, skew as skewOp, splitByScript, splitPdf, spotColor, spotResourceName, stripProhibitedFeatures, stripedPreset, stroke as strokeOp, summarizeBitDepth, summarizeIssues, svgToPdfOperators, tableToCsv, tableToJson, tagFigure, tagHeading, tagLink, tagList, tagListItem, tagParagraph, tagTable, tagTableDataCell, tagTableHeaderCell, tagTableRow, tilingPattern, timestampPlugin, toAlpha, toJsonReport, toRoman, toSarif, translate as translateOp, truncateText, upcAToOperators, upscale8To16, validateBoxGeometry, validateByteRangeIntegrity, validateCertificateChain, validateCertificatePolicy, validateEn16931, validateExtendedKeyUsage, validateFieldValue, validateKeyUsage, validatePdfA, validatePdfUa, validatePdfUa2, validatePdfX, validateSignatureChain, validateXmpMetadata, valuesToModules, verifyOfflineRevocation, verifyOwnerPassword, verifyRedactions, verifySignature, verifySignatureDetailed, verifySignatures, verifyUserPassword, webpToJpeg, webpToPng, wrapInMarkedContent, wrapText };
|
|
12518
|
+
export { AFDate_FormatEx, AFNumber_Format, AFRelationship, AFSpecial_Format, AccessibilityIssue, AccessibilityPluginOptions, AddBookmarkOptions, AnalysisReport, AnalyzeImagesOptions, Angle, AnnotationFlags, AnnotationOptions, AnnotationType, AppearanceProviderFor, AppendOptions, ApplyOcrOptions, AssociatedFileOptions, AssociatedFileResult, AutoTagOptions, AutoTagResult, AvarSegmentMap, BarcodeMatrix, BarcodeOptions, BarcodeReadResult, BatchErrorStrategy, BatchOptimizeOptions, BatchOptions, BatchProcessingError, BatchProgressCallback, BatchResult, BidiDirection, BidiResult, BidiRun, BitsPerComponent, BitsPerCoordinate, BitsPerFlag, BlendMode, BookmarkNode, BookmarkRef, BoxGeometry, ButtonAppearanceOptions, ByteRangeResult, ByteWriter, CIDFontData, CIDSystemInfoData, CalGrayParams, CalRGBParams, Canvas2DLike, CanvasRenderOptions, CaretSymbol, CatalogOptions, CellContent, CertPathResult, ChangeTracker, CheckboxAppearanceOptions, ChromaSubsampling, CmykColor, Code128Options, Code39Options, CodeFrameOptions, CollectionOptions, CollectionSchemaField, CollectionView, Color, ColorFontInfo, ColorGlyphLayer, ColorStop, CombedTextLayoutError, CompareOptions, ComputeFontSizeOptions, ContentStreamOperator, CoonsPatch, CoonsPatchOptions, CounterSignatureInfo, CpalPalette, CropBox, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE, DEFAULT_SARIF_TOOL_NAME, DataMatrixOptions, DataMatrixResult, DeclaredInvoiceTotals, DeduplicationReport, DeferredSignOptions, DeferredSignResult, Degrees, DeviceNColor, DiffEntry, DiffResult, DirectEmbedOptions, DirectEmbedResult, DisplayItem, DisplayList, DocTimeStampOptions, DocumentDiff, DocumentMetadata, DocumentPart, DocumentStructure, DownscaleOptions, DrawCircleOptions, DrawEllipseOptions, DrawImageOptions, DrawLineOptions, DrawPageOptions, DrawQrCodeOptions, DrawRectangleOptions, DrawSquareOptions, DrawSvgPathOptions, DrawTableOptions, DrawTextOptions, DropdownAppearanceOptions, DssData, EInvoiceIssue, EKU_OIDS, BarcodeOptions as EanOptions, EmbedFontOptions, EmbedPageOptions, EmbeddedFile, EmbeddedFont, EmbeddedPdfPage, EncryptAlgorithm, EncryptDictValues, EncryptOptions, EncryptedPayloadOptions, EncryptedPdfError, EncryptionReport, EnforcePdfAOptions, EnforcePdfAResult, EnforcementAction, ErrorCorrectionLevel, ExceededMaxLengthError, ExponentialFunction, ExternalSigner, ExtractedFont, ExtractedImage, ExtractedTable, FacturXAssembleOptions, FacturXProfile, FallbackFont, FallbackRun, FetchLike, FetchLikeResponse, FieldAlreadyExistsError, FieldExistsAsNonTerminalError, FieldFlags, FieldLockInfo, FieldLockOptions, FieldType, FileAttachmentIcon, FillItem, FlaggedVertex, FlattenFormResult, FlattenOptions, FontDescriptorData, FontEmbeddingResult, FontFileFormat, FontMetrics, FontNotEmbeddedError, FontRef, ForeignPageError, FreeFormGouraudOptions, FreeTextAlignment, FunctionShadingOptions, GradientFill, GrayscaleColor, HeaderFooterContent, HeaderFooterOptions, HeaderFooterPosition, IccProfile, IccTransformInfo, IfdEntry, ImageAlignment, ImageAnalysis, ImageDpi, ImageFormat, ImageInfo, ImageItem, ImageOptimizeEntry, ImageOptimizeOptions, ImageRef, IncrementalChange, IncrementalObject, IncrementalSaveOptions, IncrementalSaveResult, InitWasmOptions, InterpretOptions, InvalidColorError, InvalidFieldNamePartError, InvalidPageSizeError, Invoice, InvoiceLine, InvoiceParty, ItfOptions, JpegDecodeResult, JpegMarkerInfo, JpegMetadata, JpegWasmModule, JsonReport, LIST_NUMBERING_KEY, LabParams, LatticeFormGouraudOptions, LayoutCombedOptions, LayoutMultilineOptions, LayoutMultilineResult, LayoutSinglelineOptions, LayoutSinglelineResult, LineCapStyle, LineEndingStyle, LineJoinStyle, LinearGradientOptions, LinearizationInfo, LinearizationOptions, LinkHighlightMode, ListNumbering, ListboxAppearanceOptions, LoadPdfOptions, LtvOptions, MATHML_NAMESPACE, MarkdownToPdfOptions, MarkedContentScope, Matrix, MdpPermission, MeshShadingCommon, MeshVertex, MetadataPluginOptions, MissingOnValueCheckError, ModificationReport, ModificationViolation, ModificationViolationType, MultiPageTableResult, NamedInstance, NamespaceDef, NestedTableContent, NoSuchFieldError, NormalizedStop, OcrEngine, OcrWord, Operand, OptimizationReport, OptimizeResult, OrderXType, OutlineDestination, OutlineItemOptions, OutputIntentOptions, OverflowMode, OverflowResult, OverlayAlignment, PDF2_NAMESPACE, PDFOperator, PageContent, PageEntry, PageLabelRange, PageLabelStyle, PageOutputIntentOptions, PageRange, PageSize, PageSizes, ParseSpeeds, ParsedPage, ParsedXmpMetadata, PatternFill, Pdf417Matrix, Pdf417Options, PdfA4ExtensionProperty, PdfA4ExtensionSchema, PdfA4Level, PdfA4Options, PdfAIssue, PdfALevel, PdfAProfile, PdfAValidationResult, PdfAXmpOptions, PdfAnnotation, PdfArray, PdfBool, PdfButtonField, PdfCaretAnnotation, PdfCheckboxField, PdfCircleAnnotation, PdfDict, PdfDocument, PdfDocumentBuilder, PdfDropdownField, PdfEncryptionHandler, PdfField, PdfFileAttachmentAnnotation, PdfForm, PdfFreeTextAnnotation, PdfFunctionDef, PdfHighlightAnnotation, PdfInkAnnotation, PdfLayer, PdfLayerManager, PdfLineAnnotation, PdfLinkAnnotation, PdfListboxField, PdfName, PdfNull, PdfNumber, PdfObject, PdfObjectRegistry, PdfOutlineItem, PdfOutlineTree, PdfPage, PdfParseError, PdfPermissionFlags, PdfPlugin, PdfPluginManager, PdfPolyLineAnnotation, PdfPolygonAnnotation, PdfPopupAnnotation, PdfRadioGroup, PdfRect, PdfRedactAnnotation, PdfRef, PdfSaveOptions, PdfSignatureField, PdfSignatureInfo, PdfSquareAnnotation, PdfSquigglyAnnotation, PdfStampAnnotation, PdfStream, PdfStreamWriter, PdfStrikeOutAnnotation, PdfString, PdfStructureElement, PdfStructureTree, PdfTextAnnotation, PdfTextField, PdfUa2Issue, PdfUa2Result, PdfUaEnforcementResult, PdfUaError, PdfUaLevel, PdfUaValidationResult, PdfUaWarning, PdfUnderlineAnnotation, PdfViewerPreferences, PdfVtConformance, PdfWorker, PdfWorkerOptions, PdfWriter, PdfX6Options, PdfX6Variant, PermissionFlags, PluginDocument, PluginError, PluginPage, PostScriptFunction, PreflightIssue, PrepareAppearanceOptions, PresetName, PresetOptions, ProfileXmpOptions, ProgressInfo, QrCodeMatrix, QrCodeOptions, RadialGradientFill, RadialGradientOptions, Radians, RadioAppearanceOptions, RangeFetchOptions, RangeFetcher, RasterImage, RawImageData, RecompressOptions, ReconstructOptions, RedactRect, RedactResult, RedactionLeak, RedactionMark, RedactionOperatorOptions, RedactionOptions, RedactionRegion, RedactionResult, RedactionVerificationReport, RefResolver, RegistryEntry, RemovePageFromEmptyDocumentError, RenderCache, RenderOptions, RequirementType, RgbColor, Rgba, RichTextFieldReadError, RuntimeKind, SARIF_SCHEMA_URI, SRGB_ICC_PROFILE, STANDARD_SPOT_FUNCTIONS, SampledFunction, SanitizeClass, SanitizeOptions, SanitizeReport, SarifLog, SarifResult, SarifRun, ScriptRun, SetTitleOptions, SignOptions, SignatureAlgorithm, SignatureAppearanceOptions, SignatureByteRange, SignatureChainEntry, SignatureChainResult, SignatureOptions, SignatureVerificationResult, SignerInfo, SoftMaskBuilder, SoftMaskGroupOptions, SoftMaskRef, SpotColor, StandardFontName, StandardFonts, StandardStampName, StitchingFunction, StreamingParseError, StreamingParseResult, StreamingParserEvent, StreamingParserOptions, StreamingPdfParser, StripOptions, StripResult, StrippedFeature, StrokeItem, StructureElementOptions, StructureType, StyledBarcodeOptions, SubPath, SubsetCmap, SubsetResult, SvgDrawCommand, SvgElement, SvgGradient, SvgGradientStop, SvgRenderOptions, TableCell, TableColumn, TableExtractOptions, TablePreset, TableRenderResult, TableRow, TaggedListItem, TaskRunner, TensorPatch, TensorPatchOptions, TextAlignment$1 as TextAlignment, TextAnnotationIcon, TextAppearanceOptions, TextItem as TextDisplayItem, TextExtractionOptions, TextItem$1 as TextItem, Line as TextLine, Paragraph as TextParagraph, TextRenderingMode, TextRun, ThreatFinding, ThreatReport, ThreatSeverity, ThumbnailOptions, TiffCmykEmbedResult, TiffDecodeOptions, TiffIfdEntry, TiffImage, TileGrid, TileOptions, TilingPatternOptions, TimestampPluginOptions, TimestampResult, TrailerInfo, TransparencyFinding, TransparencyGroupOptions, TransparencyInfo, TrustStore, Type0FontData, Type1Halftone, UnexpectedFieldTypeError, BarcodeOptions as UpcOptions, VNode, ValidatableInvoice, ValidationFinding, ValidationLevel, VariableFontInfo, VariationAxis, RenderOptions$1 as VdomRenderOptions, ViewerPreferences, VisibleSignatureOptions, RecordMetadata as VtRecordMetadata, WasmLoaderConfig, WasmModuleName, WatermarkOptions, WebPImage, WidgetAnnotationHost, WidthEntry, WoffInfo, WorkerPool, WorkerPoolOptions, WrapperPayloadOptions, XRechnungOptions, XmpIssue, XmpValidationResult, accessibilityPlugin, addBookmark, addCounterSignature, addFieldLock, addVisibilityAction, addWatermark, addWatermarkToPage, aesDecryptCBC, aesEncryptCBC, analyzeImages, analyzeJpegMarkers, annotationFromDict, appendIncrementalUpdate, applyFillColor, applyHeaderFooter, applyHeaderFooterToPage, applyOcr, applyOverflow, applyPreset, applyRedaction, applyRedactions, applySpreadMethod, applyStrokeColor, applyTablePreset, asNumber, asPDFName, asPDFNumber, asPdfName, asPdfNumber, assembleFacturX, assembleTiles, attachAssociatedFiles, attachFile, attachOutputIntents, autoTagPage, base64Decode, base64Encode, batchFlatten, batchMerge, beginArtifact, beginArtifactWithType, beginLayerContent, beginMarkedContent, beginMarkedContentSequence, beginMarkedContentWithProperties, beginText, borderedPreset, buildAfArray, buildAnnotationDict, buildBlackPointCompensationExtGState, buildBoxDict, buildCalGray, buildCalRGB, buildCatalog, buildCertPath, buildCertificateChain, buildCollection, buildColorKeyMask, buildCoonsPatchShading, buildDPartRoot, buildDeviceNColorSpace, buildDocMdpReference, buildDocTimeStampDict, buildDocumentStructure, buildDssDictionary, buildEmbeddedFilesNameTree, buildEncryptedPayload, buildFacturXXmp, buildFieldLockDict, buildFreeFormGouraudShading, buildFunctionShading, buildGradientObjects, buildGtsPdfxVersion, buildImageSoftMask, buildInfoDict, buildLab, buildLatticeFormGouraudShading, buildNamespace, buildNamespacesArray, buildOutputIntent, buildPageOutputIntent, buildPageTree, buildPatternObjects, buildPdfA4Xmp, buildPdfRIdentificationXmp, buildPdfUa2Xmp, buildPdfVtDParts, buildPdfX6OutputIntent, buildPdfXOutputIntent, buildPieceInfo, buildPkcs7Signature, buildRequirement, buildRequirements, buildSampledTransferFunction, buildSeparationColorSpace, buildSigningCertificateV2Attribute, buildSoftMaskGroupExtGState, buildSoftMaskNone, buildStencilMask, buildTensorPatchShading, buildThresholdHalftone, buildTimestampRequest, buildType1Halftone, buildType5Halftone, buildUnencryptedWrapper, buildViewerPreferencesDict, buildVtDpm, buildWtpdfIdentificationXmp, buildXmpMetadata, calculateBarcodeDimensions, calculateEanCheckDigit, calculateUpcCheckDigit, canDirectEmbed, checkAccessibility, checkCertificateStatus, circlePath, clearWasmCache, clipEvenOdd, clip as clipOp, closeAndStroke, closeFillAndStroke, closeFillEvenOddAndStroke, closePath as closePathOp, cmyk, cmykToRgb, code128ToOperators, code39ToOperators, colorToComponents, colorToHex, compareImages, comparePages, componentsToColor, computeCode39CheckDigit, computeFileEncryptionKey, computeFontSize, computeImageDpi, computeObjectHash, computeSignatureHash, computeTargetDimensions, computeTileGrid, concatMatrix, concatMatrix as concatTransformationMatrix, configureWasmLoader, convertPdfAConformanceXmp, convertTiffCmykToRgb, convertToGrayscale, copyPages, countOccurrences, createAnnotation, createAssociatedFile, createMarkedContentScope, createPdf, createRangeFetcher, createSandbox, h as createVNode, createWorkerPool, createXmpStream, cropPage, curveToFinal, curveToInitial, curveTo as curveToOp, dataMatrixToOperators, decodeImageStream, decodeJpeg2000, decodeJpegWasm, decodePermissions, decodeStream, decodeTiff, decodeTiffAll, decodeTiffPage, decodeTile, decodeTileRegion, decodeWebP, decodeWoff, deduplicateImages, degrees, degreesToRadians, delinearizePdf, detectFacturXProfile, detectImageFormat, detectModifications, detectRuntime, detectTransparency, deviceNColor, deviceNResourceName, deviceRgbToXyz, didYouMean, diffSignedContent, downloadCrl, downscale16To8, downscaleImage, drawImageWithMatrix, drawImageXObject, drawXObject as drawObject, drawSvgOnPage, drawXObject, ean13ToOperators, ean8ToOperators, ellipsePath, ellipsisText, embedIccProfile, embedLtvData, embedPageAsFormXObject, embedSignature, embedTiffCmyk, embedTiffDirect, encodeCode128, encodeCode128Values, encodeCode39, encodeContextTag, encodeDataMatrix, encodeEan13, encodeEan8, encodeInteger, encodeItf, encodeJpegWasm, encodeLength, encodeOID, encodeOctetString, encodePdf417, encodePermissions, encodePngFromPixels, encodePrintableString, encodeQrCode, encodeSequence, encodeSet, encodeUTCTime, encodeUpcA, encodeUtf8String, endArtifact, endLayerContent, endMarkedContent, endPath as endPathOp, endText, enforcePdfA, enforcePdfAFull, enforcePdfUa, enforcePdfX, estimateJpegQuality, estimateTextWidth, evaluateFunction, extractCrlUrls, extractEmbeddedRevocationData, extractFonts, extractIccProfile, extractImages$1 as extractImages, extractJpegMetadata, extractMetrics, extractOcspUrl, extractImages as extractPageImages, extractSigningCertificateV2, extractTables, extractText, extractTextWithPositions, extractXmpMetadata, fillAndStroke as fillAndStrokeOp, fillEvenOdd, fillEvenOddAndStroke, fill as fillOp, findChangedObjects, findExistingSignatures, findHyphenationPoints, findSignatures, flattenField, flattenFields, flattenForm, flattenTransparency, formatDate$1 as formatAcrobatDate, formatDate, formatHexContext, formatNumber, formatPdfDate, generateButtonAppearance, generateCheckboxAppearance, generateCiiXml, generateCircleAppearance, generateDropdownAppearance, generateFreeTextAppearance, generateHighlightAppearance, generateInkAppearance, generateLineAppearance, generateListboxAppearance, generateOrderX, generatePdfAXmp, generatePdfAXmpBytes, generateRadioAppearance, generateSignatureAppearance, generateSquareAppearance, generateSquigglyAppearance, generateSrgbIccProfile, generateStrikeOutAppearance, generateSymbolToUnicodeCmap, generateTextAppearance, generateThumbnail, generateUnderlineAppearance, generateWinAnsiToUnicodeCmap, generateXRechnungCii, generateZapfDingbatsToUnicodeCmap, getAttachments, getBookmarks, getCertificationLevel, getColorGlyphLayers, getComponentDepths, getCounterSignatures, getFieldLocks, getFieldValue, getImageFormatName, getInlineWasmBytes, getInlineWasmSize, getLinearizationInfo, getPageLabels, getPageSize, getProfile, getRedactionMarks, getSignatures, getSupportedFormats, getSupportedLevels, getTiffPageCount, getToUnicodeCmap, grayscale, gtsPdfVtVersion, hasInlineWasmData, hasLtvData, hexToColor, hslToRgb, hsvToRgb, identityTransferFunction, initJpegWasm, initWasm, injectJpegMetadata, insertPage, inspectEncryption, instantiateWasmModuleStreaming, interpolateLinearRgb, interpretContentStream, interpretPage, isAccessible, isCertificateRevoked, isCmykTiff, isGrayscaleImage, isJpegWasmReady, isLinearized, isOpenTypeCFF, isTiff, isTrueType, isValidLevel, isValidModuleName, isWasmDisabled, isWasmModuleCached, isWebP, isWebPLossless, isWoff, isWoff2, itfToOperators, labToRgb, layoutColumns, layoutCombedText, layoutMultilineText, layoutParagraph, layoutSinglelineText, layoutTextFlow, levenshtein, lineTo as lineToOp, linearGradient, linearizePdf, loadPdf, loadWasmModule, loadWasmModuleStreaming, markForRedaction, markdownToPdf, md5, mergePdfs, metadataPlugin, minimalPreset, movePage, moveText as moveTextOp, moveTextSetLeading, moveTo as moveToOp, nameHalftone, nextLine as nextLineOp, normalizeAxisCoordinate, normalizeComponentDepth, offsetSignedToUnsigned, optimizeAllImages, optimizeImage, optimizeIncrementalSave, parseAcrobatDate, parseCiiXml, parseColorFont, parseContentStream, parseExistingTrailer, parseIccColorSpace, parseIccDescription, parseIccTransform, parseSvg, parseSvgColor, parseSvgPath, parseSvgTransform, parseTiffIfd, parseTileInfo, parseTimestampResponse, parseVariableFont, parseViewerPreferences, parseXmpMetadata$1 as parseXmpMetadata, parseXmpMetadata as parseXmpPdfAMetadata, pdf417ToOperators, pdfA4Rules, restoreState as popGraphicsState, preflightPdfA, preloadInlineWasm, prepareForSigning, processBatch, professionalPreset, provideWasmBytes, saveState as pushGraphicsState, qrCodeToOperators, radialGradient, radians, radiansToDegrees, rasterize, rc4, readBarcode, readCode128, readCode39, readEan13, readEan8, readWoffHeader, recompressImage, recompressWebP, reconstructLines, reconstructParagraphs, rectangle as rectangleOp, redactRegions, registerEmbeddedFile, removeAllBookmarks, removeBookmark, removePage, removePageLabels, removePages, renderCodeFrame, renderDisplayListToCanvas, renderMultiPageTable, renderPageTile, renderPageToCanvas, renderPageToImage, renderStyledBarcode, renderTable, renderToPdf, reorderVisual, replaceTemplateVariables, requestTimestamp, resetWasmLoader, resizePage, resolveBidi, resolveFallback, resolveFieldReference, resolveInstanceCoordinates, restoreState, reversePages, rgb, rgbToCmyk, rgbToHsl, rgbToHsv, rgbToLab, rgbToXyz, rotateAllPages, rotate as rotateOp, rotatePage, rotationMatrix, sampleShadingColor, sanitizePdf, saveDocumentIncremental, saveIncremental, saveIncrementalWithSignaturePreservation, saveState, scale as scaleOp, scanPdfThreats, searchTextItems, serializePdf, setCertificationLevel, setCharacterSpacing as setCharacterSpacingOp, setCharacterSpacing as setCharacterSqueeze, setColorSpace, setDashPattern as setDashPatternOp, setFieldValue, setFieldVisibility, setFillColor, setFillColorCmyk, setFillColorGray, setFillColorRgb, setFillingColor, setFlatness, setFont as setFontAndSize, setFont as setFontOp, setFontSize as setFontSizeOp, setGraphicsState as setGraphicsStateOp, setLeading as setLeadingOp, setLineCap as setLineCapOp, setLeading as setLineHeight, setLineJoin as setLineJoinOp, setLineWidth as setLineWidthOp, setMiterLimit, setPageLabels, setStrokeColor, setStrokeColorCmyk, setStrokeColorGray, setStrokeColorRgb, setStrokeColorSpace, setStrokingColor, setTextMatrix as setTextMatrixOp, setTextRenderingMode as setTextRenderingModeOp, setTextRise as setTextRiseOp, setWordSpacing as setWordSpacingOp, sha256, sha384, sha512, showTextArray, showTextHex, showTextNextLine, showText as showTextOp, showTextWithSpacing, shrinkFontSize, signDeferred, signPdf, skew as skewOp, splitByScript, splitPdf, spotColor, spotResourceName, stripProhibitedFeatures, stripedPreset, stroke as strokeOp, summarizeBitDepth, summarizeIssues, svgToPdfOperators, tableToCsv, tableToJson, tagFigure, tagHeading, tagLink, tagList, tagListItem, tagParagraph, tagTable, tagTableDataCell, tagTableHeaderCell, tagTableRow, tilingPattern, timestampPlugin, toAlpha, toJsonReport, toRoman, toSarif, translate as translateOp, truncateText, upcAToOperators, upscale8To16, validateBoxGeometry, validateByteRangeIntegrity, validateCertificateChain, validateCertificatePolicy, validateEn16931, validateExtendedKeyUsage, validateFieldValue, validateKeyUsage, validatePdfA, validatePdfUa, validatePdfUa2, validatePdfX, validateSignatureChain, validateXmpMetadata, valuesToModules, verifyOfflineRevocation, verifyOwnerPassword, verifyRedactions, verifySignature, verifySignatureDetailed, verifySignatures, verifyUserPassword, webpToJpeg, webpToPng, wrapInMarkedContent, wrapText, xyzToLab, xyzToRgb };
|
|
11809
12519
|
}
|
|
11810
12520
|
/**
|
|
11811
12521
|
* Options for WASM module initialization.
|
|
@@ -11857,5 +12567,5 @@ interface InitWasmOptions {
|
|
|
11857
12567
|
*/
|
|
11858
12568
|
declare function initWasm(options?: string | URL | InitWasmOptions): Promise<void>;
|
|
11859
12569
|
//#endregion
|
|
11860
|
-
export { attachAssociatedFiles as $, toRoman as $a, XmpValidationResult as $c, aesDecryptCBC as $d, buildDeviceNColorSpace as $f, getInlineWasmSize as $i, detectModifications as $l, ScriptRun as $n, valuesToModules as $o, Paragraph as $r, ImageDpi as $s, SanitizeReport as $t, findSignatures as $u, tagHeading as A, ExceededMaxLengthError as Aa, initJpegWasm as Ac, PdfUnderlineAnnotation as Ad, endMarkedContent as Af, buildRequirement as Ai, IncrementalChange as Al, ExternalSigner as An, DataMatrixOptions as Ao, IncrementalSaveResult as Ap, buildPdfX6OutputIntent as Ar, isWebPLossless as As, rasterize as At, checkCertificateStatus as Au, buildColorKeyMask as B, PluginError as Ba, EnforcePdfAResult as Bc, AFNumber_Format as Bd, setCharacterSpacing as Bf, accessibilityPlugin as Bi, addCounterSignature as Bl, buildVtDpm as Bn, encodeEan13 as Bo, ExponentialFunction as Br, detectImageFormat as Bs, StrokeItem as Bt, encodeInteger as Bu, PdfUa2Result as C, FlattenOptions as Ca, optimizeImage as Cc, PdfLineAnnotation as Cd, beginArtifact as Cf, MATHML_NAMESPACE as Ci, validatePdfA as Cl, WoffInfo as Cn, StyledBarcodeOptions as Co, setLineJoin as Cp, generateCiiXml as Cr, decodeTiffPage as Cs, generateThumbnail as Ct, extractEmbeddedRevocationData as Cu, ListNumbering as D, BatchProcessingError as Da, JpegWasmModule as Dc, PdfHighlightAnnotation as Dd, beginMarkedContentWithProperties as Df, buildNamespacesArray as Di, getLinearizationInfo as Dl, readWoffHeader as Dn, Pdf417Options as Do, isOpenTypeCFF as Dp, PdfX6Variant as Dr, WebPImage as Ds, renderPageToCanvas as Dt, downloadCrl as Du, LIST_NUMBERING_KEY as E, flattenForm as Ea, JpegDecodeResult as Ec, PdfSquareAnnotation as Ed, beginMarkedContentSequence as Ef, buildNamespace as Ei, delinearizePdf as El, isWoff2 as En, Pdf417Matrix as Eo, stroke as Ep, PdfX6Options as Er, parseTiffIfd as Es, renderDisplayListToCanvas as Et, validateCertificateChain as Eu, tagTable as F, InvalidColorError as Fa, applyRedaction as Fc, PdfTextAnnotation as Fd, beginText as Ff, TableExtractOptions as Fi, LtvOptions as Fl, WorkerPoolOptions as Fn, encodeUpcA as Fo, buildThresholdHalftone as Fr, encodePngFromPixels as Fs, DisplayItem as Ft, requestTimestamp as Fu, buildSoftMaskNone as G, HeaderFooterContent as Ga, generatePdfAXmpBytes as Gc, setFieldValue as Gd, setTextRenderingMode as Gf, ParsedPage as Gi, FieldLockInfo as Gl, renderToPdf as Gn, Code39Options as Go, evaluateFunction as Gr, convertTiffCmykToRgb as Gs, PermissionFlags as Gt, encodeSequence as Gu, buildStencilMask as H, RichTextFieldReadError as Ha, enforcePdfAFull as Hc, createSandbox as Hd, setFontSize as Hf, metadataPlugin as Hi, DiffEntry as Hl, RenderOptions$1 as Hn, ItfOptions as Ho, PostScriptFunction as Hr, getSupportedFormats as Hs, TextItem as Ht, encodeOID as Hu, tagTableDataCell as I, InvalidFieldNamePartError as Ia, buildPdfXOutputIntent as Ic, TextAnnotationIcon as Id, endText as If, extractTables as Ii, buildDssDictionary as Il, createWorkerPool as In, upcAToOperators as Io, buildType1Halftone as Ir, recompressWebP as Is, DisplayList as It, SignatureOptions as Iu, buildEncryptedPayload as J, applyHeaderFooter as Ja, StrippedFeature as Jc, AFSpecial_Format as Jd, showText as Jf, StreamingParserOptions as Ji, buildFieldLockDict as Jl, RangeFetchOptions as Jn, encodeCode39 as Jo, CollectionOptions as Jr, JpegMetadata as Js, RedactionRegion as Jt, encodeUtf8String as Ju, EncryptedPayloadOptions as K, HeaderFooterOptions as Ka, StripOptions as Kc, addVisibilityAction as Kd, setTextRise as Kf, StreamingParseResult as Ki, FieldLockOptions as Kl, FetchLike as Kn, code39ToOperators as Ko, MarkdownToPdfOptions as Kr, embedTiffCmyk as Ks, inspectEncryption as Kt, encodeSet as Ku, tagTableHeaderCell as L, InvalidPageSizeError as La, enforcePdfX as Lc, AFDate_FormatEx as Ld, moveText as Lf, tableToCsv as Li, embedLtvData as Ll, PdfVtConformance as Ln, calculateEanCheckDigit as Lo, buildType5Halftone as Lr, webpToJpeg as Ls, FillItem as Lt, SignerInfo as Lu, tagList as M, FieldExistsAsNonTerminalError as Ma, OverlayAlignment as Mc, PdfFreeTextAnnotation as Md, drawImageWithMatrix as Mf, DocumentPart as Mi, findChangedObjects as Ml, signDeferred as Mn, dataMatrixToOperators as Mo, saveIncremental as Mp, STANDARD_SPOT_FUNCTIONS as Mr, DirectEmbedResult as Ms, InterpretOptions as Mt, TimestampResult as Mu, tagListItem as N, FontNotEmbeddedError as Na, RedactionOperatorOptions as Nc, LinkHighlightMode as Nd, drawImageXObject as Nf, buildDPartRoot as Ni, optimizeIncrementalSave as Nl, TaskRunner as Nn, encodeDataMatrix as No, __exportAll as Np, Type1Halftone as Nr, canDirectEmbed as Ns, interpretContentStream as Nt, buildTimestampRequest as Nu, TaggedListItem as O, CombedTextLayoutError as Oa, decodeJpegWasm as Oc, PdfSquigglyAnnotation as Od, createMarkedContentScope as Of, buildPieceInfo as Oi, isLinearized as Ol, DeferredSignOptions as On, encodePdf417 as Oo, isTrueType as Op, buildBoxDict as Or, decodeWebP as Os, RasterImage as Ot, extractCrlUrls as Ou, tagParagraph as P, ForeignPageError as Pa, RedactionResult as Pc, PdfLinkAnnotation as Pd, drawXObject as Pf, ExtractedTable as Pi, DssData as Pl, WorkerPool as Pn, calculateUpcCheckDigit as Po, buildSampledTransferFunction as Pr, embedTiffDirect as Ps, interpretPage as Pt, parseTimestampResponse as Pu, buildPageOutputIntent as Q, toAlpha as Qa, XmpIssue as Qc, sha512 as Qd, showTextWithSpacing as Qf, getInlineWasmBytes as Qi, ModificationViolationType as Ql, FallbackRun as Qn, encodeCode128Values as Qo, Line as Qr, analyzeJpegMarkers as Qs, SanitizeOptions as Qt, embedSignature as Qu, tagTableRow as R, MissingOnValueCheckError as Ra, validatePdfX as Rc, formatDate$1 as Rd, moveTextSetLeading as Rf, tableToJson as Ri, hasLtvData as Rl, RecordMetadata as Rn, ean13ToOperators as Ro, identityTransferFunction as Rr, webpToPng as Rs, ImageItem as Rt, buildPkcs7Signature as Ru, PdfUa2Issue as S, FlattenFormResult as Sa, estimateJpegQuality as Sc, PdfCircleAnnotation as Sd, MarkedContentScope as Sf, toSarif as Si, enforcePdfA as Sl, parseTileInfo as Sn, readEan8 as So, setLineCap as Sp, InvoiceParty as Sr, decodeTiffAll as Ss, ThumbnailOptions as St, TrustStore as Su, validatePdfUa2 as T, flattenFields as Ta, ChromaSubsampling as Tc, PdfPolygonAnnotation as Td, beginMarkedContent as Tf, PDF2_NAMESPACE as Ti, LinearizationOptions as Tl, isWoff as Tn, renderStyledBarcode as To, setMiterLimit as Tp, PdfRect as Tr, isTiff as Ts, CanvasRenderOptions as Tt, buildCertificateChain as Tu, SoftMaskGroupOptions as U, StreamingParseError as Ua, PdfAXmpOptions as Uc, getFieldValue as Ud, setLeading as Uf, TimestampPluginOptions as Ui, DocumentDiff as Ul, VNode as Un, encodeItf as Uo, SampledFunction as Ur, TiffCmykEmbedResult as Us, Matrix as Ut, encodeOctetString as Uu, buildImageSoftMask as V, RemovePageFromEmptyDocumentError as Va, EnforcementAction as Vc, formatNumber as Vd, setFont as Vf, MetadataPluginOptions as Vi, getCounterSignatures as Vl, gtsPdfVtVersion as Vn, encodeEan8 as Vo, PdfFunctionDef as Vr, getImageFormatName as Vs, SubPath as Vt, encodeLength as Vu, buildSoftMaskGroupExtGState as W, UnexpectedFieldTypeError as Wa, generatePdfAXmp as Wc, resolveFieldReference as Wd, setTextMatrix as Wf, timestampPlugin as Wi, diffSignedContent as Wl, h as Wn, itfToOperators as Wo, StitchingFunction as Wr, TiffIfdEntry as Ws, EncryptionReport as Wt, encodePrintableString as Wu, PageOutputIntentOptions as X, formatDate as Xa, stripProhibitedFeatures as Xc, sha256 as Xd, showTextHex as Xf, PdfDocumentBuilder as Xi, ModificationReport as Xl, createRangeFetcher as Xn, code128ToOperators as Xo, CollectionView as Xr, injectJpegMetadata as Xs, verifyRedactions as Xt, PrepareAppearanceOptions as Xu, buildUnencryptedWrapper as Y, applyHeaderFooterToPage as Ya, countOccurrences as Yc, validateFieldValue as Yd, showTextArray as Yf, StreamingPdfParser as Yi, getFieldLocks as Yl, RangeFetcher as Yn, Code128Options as Yo, CollectionSchemaField as Yr, extractJpegMetadata as Ys, RedactionVerificationReport as Yt, ByteRangeResult as Yu, attachOutputIntents as Z, replaceTemplateVariables as Za, ParsedXmpMetadata as Zc, sha384 as Zd, showTextNextLine as Zf, WasmModuleName as Zi, ModificationViolation as Zl, FallbackFont as Zn, encodeCode128 as Zo, buildCollection as Zr, JpegMarkerInfo as Zs, SanitizeClass as Zt, computeSignatureHash as Zu, convertPdfAConformanceXmp as _, BookmarkRef as _a, ImageOptimizeOptions as _c, PdfRedactAnnotation as _d, buildXmpMetadata as _f, SarifResult as _i, detectTransparency as _l, summarizeBitDepth as _n, BarcodeReadResult as _o, lineTo as _p, levenshtein as _r, resetWasmLoader as _s, ExtractedFont as _t, verifySignatureDetailed as _u, parseCiiXml as a, BatchProgressCallback as aa, parseIccColorSpace as ac, generateHighlightAppearance as ad, verifyOwnerPassword as af, buildDocTimeStampDict as ai, getSupportedLevels as al, CertPathResult as an, shrinkFontSize as ao, closeFillAndStroke as ap, generateXRechnungCii as ar, PdfWorkerOptions as as, renderPageTile as at, SignatureChainResult as au, AutoTagResult as b, removeAllBookmarks as ba, RecompressOptions as bc, StandardStampName as bd, PdfStreamWriter as bf, ValidationLevel as bi, PdfALevel as bl, decodeTile as bn, readCode39 as bo, setDashPattern as bp, Invoice as br, TiffImage as bs, ExtractedImage as bt, validateExtendedKeyUsage as bu, ValidatableInvoice as c, batchMerge as ca, isGrayscaleImage as cc, generateSquareAppearance as cd, PdfUaError as cf, LabParams as ci, generateWinAnsiToUnicodeCmap as cl, extractSigningCertificateV2 as cn, PresetName as co, curveTo as cp, PdfA4Level as cr, clearWasmCache as cs, redactRegions as ct, IncrementalObject as cu, assembleFacturX as d, PageLabelStyle as da, BatchOptimizeOptions as dc, generateUnderlineAppearance as dd, PdfUaWarning as df, buildLab as di, OutputIntentOptions as dl, layoutParagraph as dn, applyPreset as do, ellipsePath as dp, pdfA4Rules as dr, instantiateWasmModuleStreaming as ds, OcrWord as dt, TrailerInfo as du, hasInlineWasmData as ea, computeImageDpi as ec, prepareForSigning as ed, aesEncryptCBC as ef, ReconstructOptions as ei, extractXmpMetadata as el, sanitizePdf as en, OverflowMode as eo, buildSeparationColorSpace as ep, resolveFallback as er, BarcodeMatrix as es, registerEmbeddedFile as et, MdpPermission as eu, buildFacturXXmp as f, getPageLabels as fa, ImageOptimizeEntry as fc, FileAttachmentIcon as fd, enforcePdfUa as ff, labToRgb as fi, buildOutputIntent as fl, layoutTextFlow as fn, applyTablePreset as fo, endPath as fp, FunctionShadingOptions as fr, isWasmDisabled as fs, applyOcr as ft, appendIncrementalUpdate as fu, PreflightIssue as g, BookmarkNode as ga, DownscaleOptions as gc, PdfPopupAnnotation as gd, summarizeIssues as gf, SarifLog as gi, TransparencyInfo as gl, offsetSignedToUnsigned as gn, stripedPreset as go, fillEvenOddAndStroke as gp, didYouMean as gr, provideWasmBytes as gs, comparePages as gt, validateByteRangeIntegrity as gu, buildWtpdfIdentificationXmp as h, AddBookmarkOptions as ha, optimizeAllImages as hc, PdfCaretAnnotation as hd, isAccessible as hf, SARIF_SCHEMA_URI as hi, TransparencyFinding as hl, normalizeComponentDepth as hn, professionalPreset as ho, fillEvenOdd as hp, CodeFrameOptions as hr, loadWasmModuleStreaming as hs, compareImages as ht, saveIncrementalWithSignaturePreservation as hu, detectFacturXProfile as i, BatchOptions as ia, extractIccProfile as ic, generateFreeTextAppearance as id, computeFileEncryptionKey as if, DocTimeStampOptions as ii, getProfile as il, scanPdfThreats as in, estimateTextWidth as io, closeAndStroke as ip, generateOrderX as ir, PdfWorker as is, computeTileGrid as it, SignatureChainEntry as iu, tagLink as j, FieldAlreadyExistsError as ja, isJpegWasmReady as jc, FreeTextAlignment as jd, wrapInMarkedContent as jf, buildRequirements as ji, computeObjectHash as jl, SignatureAlgorithm as jn, DataMatrixResult as jo, saveDocumentIncremental as jp, validateBoxGeometry as jr, DirectEmbedOptions as js, renderPageToImage as jt, extractOcspUrl as ju, tagFigure as k, EncryptedPdfError as ka, encodeJpegWasm as kc, PdfStrikeOutAnnotation as kd, endArtifact as kf, RequirementType as ki, linearizePdf as kl, DeferredSignResult as kn, pdf417ToOperators as ko, ChangeTracker as kp, buildGtsPdfxVersion as kr, isWebP as ks, RenderOptions as kt, isCertificateRevoked as ku, validateEn16931 as l, processBatch as la, DeduplicationReport as lc, generateSquigglyAppearance as ld, PdfUaLevel as lf, buildCalGray as li, generateZapfDingbatsToUnicodeCmap as ll, findHyphenationPoints as ln, PresetOptions as lo, curveToFinal as lp, PdfA4Options as lr, configureWasmLoader as ls, ApplyOcrOptions as lt, IncrementalSaveOptions as lu, buildPdfRIdentificationXmp as m, setPageLabels as ma, ProgressInfo as mc, CaretSymbol as md, checkAccessibility as mf, JsonReport as mi, generateSrgbIccProfile as ml, getComponentDepths as mn, minimalPreset as mo, fillAndStroke as mp, sampleShadingColor as mr, loadWasmModule as ms, DiffResult as mt, parseExistingTrailer as mu, index_d_exports as n, preloadInlineWasm as na, IccProfile as nc, searchTextItems as nd, md5 as nf, reconstructParagraphs as ni, validateXmpMetadata as nl, ThreatReport as nn, applyOverflow as no, clip as np, OrderXType as nr, base64Decode as ns, TileGrid as nt, getCertificationLevel as nu, DeclaredInvoiceTotals as o, BatchResult as oa, parseIccDescription as oc, generateInkAppearance as od, verifyUserPassword as of, CalGrayParams as oi, isValidLevel as ol, buildCertPath as on, truncateText as oo, closeFillEvenOddAndStroke as op, PdfA4ExtensionProperty as or, RuntimeKind as os, RedactRect as ot, validateSignatureChain as ou, ProfileXmpOptions as p, removePageLabels as pa, OptimizationReport as pc, PdfFileAttachmentAnnotation as pd, validatePdfUa as pf, DEFAULT_SARIF_TOOL_NAME as pi, SRGB_ICC_PROFILE as pl, downscale16To8 as pn, borderedPreset as po, fill as pp, buildFunctionShading as pr, isWasmModuleCached as ps, CompareOptions as pt, findExistingSignatures as pu, WrapperPayloadOptions as q, HeaderFooterPosition as qa, StripResult as qc, setFieldVisibility as qd, setWordSpacing as qf, StreamingParserEvent as qi, addFieldLock as ql, FetchLikeResponse as qn, computeCode39CheckDigit as qo, markdownToPdf as qr, isCmykTiff as qs, RedactionLeak as qt, encodeUTCTime as qu, initWasm as r, BatchErrorStrategy as ra, embedIccProfile as rc, generateCircleAppearance as rd, EncryptDictValues as rf, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE as ri, PdfAProfile as rl, ThreatSeverity as rn, ellipsisText as ro, clipEvenOdd as rp, XRechnungOptions as rr, base64Encode as rs, TileOptions as rt, setCertificationLevel as ru, EInvoiceIssue as s, batchFlatten as sa, convertToGrayscale as sc, generateLineAppearance as sd, PdfUaEnforcementResult as sf, CalRGBParams as si, generateSymbolToUnicodeCmap as sl, buildSigningCertificateV2Attribute as sn, wrapText as so, closePath as sp, PdfA4ExtensionSchema as sr, WasmLoaderConfig as ss, RedactResult as st, AppendOptions as su, InitWasmOptions as t, isValidModuleName as ta, computeTargetDimensions as tc, decodeJpeg2000 as td, rc4 as tf, reconstructLines as ti, parseXmpMetadata as tl, ThreatFinding as tn, OverflowResult as to, circlePath as tp, splitByScript as tr, BarcodeOptions as ts, RenderCache as tt, buildDocMdpReference as tu, FacturXAssembleOptions as u, PageLabelRange as ua, deduplicateImages as uc, generateStrikeOutAppearance as ud, PdfUaValidationResult as uf, buildCalRGB as ui, getToUnicodeCmap as ul, layoutColumns as un, TablePreset as uo, curveToInitial as up, buildPdfA4Xmp as ur, detectRuntime as us, OcrEngine as ut, SignatureByteRange as uu, preflightPdfA as v, addBookmark as va, OptimizeResult as vc, PdfInkAnnotation as vd, createXmpStream as vf, SarifRun as vi, flattenTransparency as vl, upscale8To16 as vn, readBarcode as vo, moveTo as vp, renderCodeFrame as vr, IfdEntry as vs, FontFileFormat as vt, EKU_OIDS as vu, buildPdfUa2Xmp as w, flattenField as wa, recompressImage as wc, PdfPolyLineAnnotation as wd, beginArtifactWithType as wf, NamespaceDef as wi, LinearizationInfo as wl, decodeWoff as wn, calculateBarcodeDimensions as wo, setLineWidth as wp, BoxGeometry as wr, getTiffPageCount as ws, Canvas2DLike as wt, verifyOfflineRevocation as wu, autoTagPage as x, removeBookmark as xa, downscaleImage as xc, LineEndingStyle as xd, PDFOperator as xf, toJsonReport as xi, PdfAValidationResult as xl, decodeTileRegion as xn, readEan13 as xo, setFlatness as xp, InvoiceLine as xr, decodeTiff as xs, extractImages as xt, validateKeyUsage as xu, AutoTagOptions as y, getBookmarks as ya, RawImageData as yc, PdfStampAnnotation as yd, parseXmpMetadata$1 as yf, ValidationFinding as yi, PdfAIssue as yl, assembleTiles as yn, readCode128 as yo, rectangle as yp, FacturXProfile as yr, TiffDecodeOptions as ys, extractFonts as yt, validateCertificatePolicy as yu, buildBlackPointCompensationExtGState as z, NoSuchFieldError as za, EnforcePdfAOptions as zc, parseAcrobatDate as zd, nextLine as zf, AccessibilityPluginOptions as zi, CounterSignatureInfo as zl, buildPdfVtDParts as zn, ean8ToOperators as zo, nameHalftone as zr, ImageFormat as zs, Rgba as zt, encodeContextTag as zu };
|
|
11861
|
-
//# sourceMappingURL=index-
|
|
12570
|
+
export { attachAssociatedFiles as $, processBatch as $a, DeduplicationReport as $c, generateSquigglyAppearance as $d, PdfUaLevel as $f, buildCalGray as $i, generateZapfDingbatsToUnicodeCmap as $l, findHyphenationPoints as $n, PresetOptions as $o, curveToFinal as $p, PdfA4Options as $r, configureWasmLoader as $s, parseIccTransform as $t, IncrementalSaveOptions as $u, tagHeading as A, accessibilityPlugin as Aa, detectImageFormat as Ac, encodeInteger as Ad, AFNumber_Format as Af, ExponentialFunction as Ai, EnforcePdfAResult as Al, BidiResult as An, PluginError as Ao, setCharacterSpacing as Ap, buildVtDpm as Ar, encodeEan13 as As, rasterize as At, addCounterSignature as Au, buildColorKeyMask as B, PdfDocumentBuilder as Ba, injectJpegMetadata as Bc, PrepareAppearanceOptions as Bd, sha256 as Bf, CollectionView as Bi, stripProhibitedFeatures as Bl, verifyRedactions as Bn, formatDate as Bo, showTextHex as Bp, createRangeFetcher as Br, code128ToOperators as Bs, StrokeItem as Bt, ModificationReport as Bu, PdfUa2Result as C, buildDPartRoot as Ca, canDirectEmbed as Cc, buildTimestampRequest as Cd, LinkHighlightMode as Cf, Type1Halftone as Ci, RedactionOperatorOptions as Cl, __exportAll as Cm, NamedInstance as Cn, FontNotEmbeddedError as Co, drawImageXObject as Cp, TaskRunner as Cr, encodeDataMatrix as Cs, generateThumbnail as Ct, optimizeIncrementalSave as Cu, ListNumbering as D, tableToCsv as Da, webpToJpeg as Dc, SignerInfo as Dd, AFDate_FormatEx as Df, buildType5Halftone as Di, enforcePdfX as Dl, parseVariableFont as Dn, InvalidPageSizeError as Do, moveText as Dp, PdfVtConformance as Dr, calculateEanCheckDigit as Ds, renderPageToCanvas as Dt, embedLtvData as Du, LIST_NUMBERING_KEY as E, extractTables as Ea, recompressWebP as Ec, SignatureOptions as Ed, TextAnnotationIcon as Ef, buildType1Halftone as Ei, buildPdfXOutputIntent as El, normalizeAxisCoordinate as En, InvalidFieldNamePartError as Eo, endText as Ep, createWorkerPool as Er, upcAToOperators as Es, renderDisplayListToCanvas as Et, buildDssDictionary as Eu, tagTable as F, ParsedPage as Fa, convertTiffCmykToRgb as Fc, encodeSequence as Fd, setFieldValue as Ff, evaluateFunction as Fi, generatePdfAXmpBytes as Fl, PermissionFlags as Fn, HeaderFooterContent as Fo, setTextRenderingMode as Fp, renderToPdf as Fr, Code39Options as Fs, DisplayItem as Ft, FieldLockInfo as Fu, buildSoftMaskNone as G, isValidModuleName as Ga, computeTargetDimensions as Gc, decodeJpeg2000 as Gd, rc4 as Gf, reconstructLines as Gi, parseXmpMetadata as Gl, ThreatFinding as Gn, OverflowResult as Go, circlePath as Gp, splitByScript as Gr, BarcodeOptions as Gs, hsvToRgb as Gt, buildDocMdpReference as Gu, buildStencilMask as H, getInlineWasmBytes as Ha, analyzeJpegMarkers as Hc, embedSignature as Hd, sha512 as Hf, Line as Hi, XmpIssue as Hl, SanitizeOptions as Hn, toAlpha as Ho, showTextWithSpacing as Hp, FallbackRun as Hr, encodeCode128Values as Hs, TextItem as Ht, ModificationViolationType as Hu, tagTableDataCell as I, StreamingParseResult as Ia, embedTiffCmyk as Ic, encodeSet as Id, addVisibilityAction as If, MarkdownToPdfOptions as Ii, StripOptions as Il, inspectEncryption as In, HeaderFooterOptions as Io, setTextRise as Ip, FetchLike as Ir, code39ToOperators as Is, DisplayList as It, FieldLockOptions as Iu, buildEncryptedPayload as J, BatchOptions as Ja, extractIccProfile as Jc, generateFreeTextAppearance as Jd, computeFileEncryptionKey as Jf, DocTimeStampOptions as Ji, getProfile as Jl, scanPdfThreats as Jn, estimateTextWidth as Jo, closeAndStroke as Jp, generateOrderX as Jr, PdfWorker as Js, rgbToLab as Jt, SignatureChainEntry as Ju, EncryptedPayloadOptions as K, preloadInlineWasm as Ka, IccProfile as Kc, searchTextItems as Kd, md5 as Kf, reconstructParagraphs as Ki, validateXmpMetadata as Kl, ThreatReport as Kn, applyOverflow as Ko, clip as Kp, OrderXType as Kr, base64Decode as Ks, rgbToHsl as Kt, getCertificationLevel as Ku, tagTableHeaderCell as L, StreamingParserEvent as La, isCmykTiff as Lc, encodeUTCTime as Ld, setFieldVisibility as Lf, markdownToPdf as Li, StripResult as Ll, RedactionLeak as Ln, HeaderFooterPosition as Lo, setWordSpacing as Lp, FetchLikeResponse as Lr, computeCode39CheckDigit as Ls, FillItem as Lt, addFieldLock as Lu, tagList as M, metadataPlugin as Ma, getSupportedFormats as Mc, encodeOID as Md, createSandbox as Mf, PostScriptFunction as Mi, enforcePdfAFull as Ml, reorderVisual as Mn, RichTextFieldReadError as Mo, setFontSize as Mp, RenderOptions$1 as Mr, ItfOptions as Ms, InterpretOptions as Mt, DiffEntry as Mu, tagListItem as N, TimestampPluginOptions as Na, TiffCmykEmbedResult as Nc, encodeOctetString as Nd, getFieldValue as Nf, SampledFunction as Ni, PdfAXmpOptions as Nl, resolveBidi as Nn, StreamingParseError as No, setLeading as Np, VNode as Nr, encodeItf as Ns, interpretContentStream as Nt, DocumentDiff as Nu, TaggedListItem as O, tableToJson as Oa, webpToPng as Oc, buildPkcs7Signature as Od, formatDate$1 as Of, identityTransferFunction as Oi, validatePdfX as Ol, resolveInstanceCoordinates as On, MissingOnValueCheckError as Oo, moveTextSetLeading as Op, RecordMetadata as Or, ean13ToOperators as Os, RasterImage as Ot, hasLtvData as Ou, tagParagraph as P, timestampPlugin as Pa, TiffIfdEntry as Pc, encodePrintableString as Pd, resolveFieldReference as Pf, StitchingFunction as Pi, generatePdfAXmp as Pl, EncryptionReport as Pn, UnexpectedFieldTypeError as Po, setTextMatrix as Pp, h as Pr, itfToOperators as Ps, interpretPage as Pt, diffSignedContent as Pu, buildPageOutputIntent as Q, batchMerge as Qa, isGrayscaleImage as Qc, generateSquareAppearance as Qd, PdfUaError as Qf, LabParams as Qi, generateWinAnsiToUnicodeCmap as Ql, extractSigningCertificateV2 as Qn, PresetName as Qo, curveTo as Qp, PdfA4Level as Qr, clearWasmCache as Qs, deviceRgbToXyz as Qt, IncrementalObject as Qu, tagTableRow as R, StreamingParserOptions as Ra, JpegMetadata as Rc, encodeUtf8String as Rd, AFSpecial_Format as Rf, CollectionOptions as Ri, StrippedFeature as Rl, RedactionRegion as Rn, applyHeaderFooter as Ro, showText as Rp, RangeFetchOptions as Rr, encodeCode39 as Rs, ImageItem as Rt, buildFieldLockDict as Ru, PdfUa2Issue as S, DocumentPart as Sa, DirectEmbedResult as Sc, TimestampResult as Sd, PdfFreeTextAnnotation as Sf, STANDARD_SPOT_FUNCTIONS as Si, OverlayAlignment as Sl, saveIncremental as Sm, AvarSegmentMap as Sn, FieldExistsAsNonTerminalError as So, drawImageWithMatrix as Sp, signDeferred as Sr, dataMatrixToOperators as Ss, ThumbnailOptions as St, findChangedObjects as Su, validatePdfUa2 as T, TableExtractOptions as Ta, encodePngFromPixels as Tc, requestTimestamp as Td, PdfTextAnnotation as Tf, buildThresholdHalftone as Ti, applyRedaction as Tl, VariationAxis as Tn, InvalidColorError as To, beginText as Tp, WorkerPoolOptions as Tr, encodeUpcA as Ts, CanvasRenderOptions as Tt, LtvOptions as Tu, SoftMaskGroupOptions as U, getInlineWasmSize as Ua, ImageDpi as Uc, findSignatures as Ud, aesDecryptCBC as Uf, Paragraph as Ui, XmpValidationResult as Ul, SanitizeReport as Un, toRoman as Uo, buildDeviceNColorSpace as Up, ScriptRun as Ur, valuesToModules as Us, Matrix as Ut, detectModifications as Uu, buildImageSoftMask as V, WasmModuleName as Va, JpegMarkerInfo as Vc, computeSignatureHash as Vd, sha384 as Vf, buildCollection as Vi, ParsedXmpMetadata as Vl, SanitizeClass as Vn, replaceTemplateVariables as Vo, showTextNextLine as Vp, FallbackFont as Vr, encodeCode128 as Vs, SubPath as Vt, ModificationViolation as Vu, buildSoftMaskGroupExtGState as W, hasInlineWasmData as Wa, computeImageDpi as Wc, prepareForSigning as Wd, aesEncryptCBC as Wf, ReconstructOptions as Wi, extractXmpMetadata as Wl, sanitizePdf as Wn, OverflowMode as Wo, buildSeparationColorSpace as Wp, resolveFallback as Wr, BarcodeMatrix as Ws, hslToRgb as Wt, MdpPermission as Wu, PageOutputIntentOptions as X, BatchResult as Xa, parseIccDescription as Xc, generateInkAppearance as Xd, verifyUserPassword as Xf, CalGrayParams as Xi, isValidLevel as Xl, buildCertPath as Xn, truncateText as Xo, closeFillEvenOddAndStroke as Xp, PdfA4ExtensionProperty as Xr, RuntimeKind as Xs, xyzToRgb as Xt, validateSignatureChain as Xu, buildUnencryptedWrapper as Y, BatchProgressCallback as Ya, parseIccColorSpace as Yc, generateHighlightAppearance as Yd, verifyOwnerPassword as Yf, buildDocTimeStampDict as Yi, getSupportedLevels as Yl, CertPathResult as Yn, shrinkFontSize as Yo, closeFillAndStroke as Yp, generateXRechnungCii as Yr, PdfWorkerOptions as Ys, rgbToXyz as Yt, SignatureChainResult as Yu, attachOutputIntents as Z, batchFlatten as Za, convertToGrayscale as Zc, generateLineAppearance as Zd, PdfUaEnforcementResult as Zf, CalRGBParams as Zi, generateSymbolToUnicodeCmap as Zl, buildSigningCertificateV2Attribute as Zn, wrapText as Zo, closePath as Zp, PdfA4ExtensionSchema as Zr, WasmLoaderConfig as Zs, IccTransformInfo as Zt, AppendOptions as Zu, convertPdfAConformanceXmp as _, buildNamespacesArray as _a, WebPImage as _c, downloadCrl as _d, PdfHighlightAnnotation as _f, PdfX6Variant as _i, JpegWasmModule as _l, isOpenTypeCFF as _m, ColorFontInfo as _n, BatchProcessingError as _o, beginMarkedContentWithProperties as _p, readWoffHeader as _r, Pdf417Options as _s, ExtractedFont as _t, getLinearizationInfo as _u, parseCiiXml as a, SARIF_SCHEMA_URI as aa, loadWasmModuleStreaming as ac, saveIncrementalWithSignaturePreservation as ad, PdfCaretAnnotation as af, CodeFrameOptions as ai, optimizeAllImages as al, fillEvenOdd as am, CoonsPatchOptions as an, AddBookmarkOptions as ao, isAccessible as ap, normalizeComponentDepth as ar, professionalPreset as as, renderPageTile as at, TransparencyFinding as au, AutoTagResult as b, buildRequirement as ba, isWebPLossless as bc, checkCertificateStatus as bd, PdfUnderlineAnnotation as bf, buildPdfX6OutputIntent as bi, initJpegWasm as bl, IncrementalSaveResult as bm, getColorGlyphLayers as bn, ExceededMaxLengthError as bo, endMarkedContent as bp, ExternalSigner as br, DataMatrixOptions as bs, ExtractedImage as bt, IncrementalChange as bu, ValidatableInvoice as c, SarifRun as ca, IfdEntry as cc, EKU_OIDS as cd, PdfInkAnnotation as cf, renderCodeFrame as ci, OptimizeResult as cl, moveTo as cm, LatticeFormGouraudOptions as cn, addBookmark as co, createXmpStream as cp, upscale8To16 as cr, readBarcode as cs, redactRegions as ct, flattenTransparency as cu, assembleFacturX as d, toJsonReport as da, decodeTiff as dc, validateKeyUsage as dd, LineEndingStyle as df, InvoiceLine as di, downscaleImage as dl, setFlatness as dm, TensorPatch as dn, removeBookmark as do, PDFOperator as dp, decodeTileRegion as dr, readEan13 as ds, OcrWord as dt, PdfAValidationResult as du, buildCalRGB as ea, detectRuntime as ec, SignatureByteRange as ed, generateStrikeOutAppearance as ef, buildPdfA4Xmp as ei, deduplicateImages as el, curveToInitial as em, xyzToLab as en, PageLabelRange as eo, PdfUaValidationResult as ep, layoutColumns as er, TablePreset as es, registerEmbeddedFile as et, getToUnicodeCmap as eu, buildFacturXXmp as f, toSarif as fa, decodeTiffAll as fc, TrustStore as fd, PdfCircleAnnotation as ff, InvoiceParty as fi, estimateJpegQuality as fl, setLineCap as fm, TensorPatchOptions as fn, FlattenFormResult as fo, MarkedContentScope as fp, parseTileInfo as fr, readEan8 as fs, applyOcr as ft, enforcePdfA as fu, PreflightIssue as g, buildNamespace as ga, parseTiffIfd as gc, validateCertificateChain as gd, PdfSquareAnnotation as gf, PdfX6Options as gi, JpegDecodeResult as gl, stroke as gm, buildTensorPatchShading as gn, flattenForm as go, beginMarkedContentSequence as gp, isWoff2 as gr, Pdf417Matrix as gs, comparePages as gt, delinearizePdf as gu, buildWtpdfIdentificationXmp as h, PDF2_NAMESPACE as ha, isTiff as hc, buildCertificateChain as hd, PdfPolygonAnnotation as hf, PdfRect as hi, ChromaSubsampling as hl, setMiterLimit as hm, buildLatticeFormGouraudShading as hn, flattenFields as ho, beginMarkedContent as hp, isWoff as hr, renderStyledBarcode as hs, compareImages as ht, LinearizationOptions as hu, detectFacturXProfile as i, JsonReport as ia, loadWasmModule as ic, parseExistingTrailer as id, CaretSymbol as if, sampleShadingColor as ii, ProgressInfo as il, fillAndStroke as im, CoonsPatch as in, setPageLabels as io, checkAccessibility as ip, getComponentDepths as ir, minimalPreset as is, computeTileGrid as it, generateSrgbIccProfile as iu, tagLink as j, MetadataPluginOptions as ja, getImageFormatName as jc, encodeLength as jd, formatNumber as jf, PdfFunctionDef as ji, EnforcementAction as jl, BidiRun as jn, RemovePageFromEmptyDocumentError as jo, setFont as jp, gtsPdfVtVersion as jr, encodeEan8 as js, renderPageToImage as jt, getCounterSignatures as ju, tagFigure as k, AccessibilityPluginOptions as ka, ImageFormat as kc, encodeContextTag as kd, parseAcrobatDate as kf, nameHalftone as ki, EnforcePdfAOptions as kl, BidiDirection as kn, NoSuchFieldError as ko, nextLine as kp, buildPdfVtDParts as kr, ean8ToOperators as ks, RenderOptions as kt, CounterSignatureInfo as ku, validateEn16931 as l, ValidationFinding as la, TiffDecodeOptions as lc, validateCertificatePolicy as ld, PdfStampAnnotation as lf, FacturXProfile as li, RawImageData as ll, rectangle as lm, MeshShadingCommon as ln, getBookmarks as lo, parseXmpMetadata$1 as lp, assembleTiles as lr, readCode128 as ls, ApplyOcrOptions as lt, PdfAIssue as lu, buildPdfRIdentificationXmp as m, NamespaceDef as ma, getTiffPageCount as mc, verifyOfflineRevocation as md, PdfPolyLineAnnotation as mf, BoxGeometry as mi, recompressImage as ml, setLineWidth as mm, buildFreeFormGouraudShading as mn, flattenField as mo, beginArtifactWithType as mp, decodeWoff as mr, calculateBarcodeDimensions as ms, DiffResult as mt, LinearizationInfo as mu, index_d_exports as n, labToRgb as na, isWasmDisabled as nc, appendIncrementalUpdate as nd, FileAttachmentIcon as nf, FunctionShadingOptions as ni, ImageOptimizeEntry as nl, endPath as nm, BitsPerCoordinate as nn, getPageLabels as no, enforcePdfUa as np, layoutTextFlow as nr, applyTablePreset as ns, TileGrid as nt, buildOutputIntent as nu, DeclaredInvoiceTotals as o, SarifLog as oa, provideWasmBytes as oc, validateByteRangeIntegrity as od, PdfPopupAnnotation as of, didYouMean as oi, DownscaleOptions as ol, fillEvenOddAndStroke as om, FlaggedVertex as on, BookmarkNode as oo, summarizeIssues as op, offsetSignedToUnsigned as or, stripedPreset as os, RedactRect as ot, TransparencyInfo as ou, ProfileXmpOptions as p, MATHML_NAMESPACE as pa, decodeTiffPage as pc, extractEmbeddedRevocationData as pd, PdfLineAnnotation as pf, generateCiiXml as pi, optimizeImage as pl, setLineJoin as pm, buildCoonsPatchShading as pn, FlattenOptions as po, beginArtifact as pp, WoffInfo as pr, StyledBarcodeOptions as ps, CompareOptions as pt, validatePdfA as pu, WrapperPayloadOptions as q, BatchErrorStrategy as qa, embedIccProfile as qc, generateCircleAppearance as qd, EncryptDictValues as qf, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE as qi, PdfAProfile as ql, ThreatSeverity as qn, ellipsisText as qo, clipEvenOdd as qp, XRechnungOptions as qr, base64Encode as qs, rgbToHsv as qt, setCertificationLevel as qu, initWasm as r, DEFAULT_SARIF_TOOL_NAME as ra, isWasmModuleCached as rc, findExistingSignatures as rd, PdfFileAttachmentAnnotation as rf, buildFunctionShading as ri, OptimizationReport as rl, fill as rm, BitsPerFlag as rn, removePageLabels as ro, validatePdfUa as rp, downscale16To8 as rr, borderedPreset as rs, TileOptions as rt, SRGB_ICC_PROFILE as ru, EInvoiceIssue as s, SarifResult as sa, resetWasmLoader as sc, verifySignatureDetailed as sd, PdfRedactAnnotation as sf, levenshtein as si, ImageOptimizeOptions as sl, lineTo as sm, FreeFormGouraudOptions as sn, BookmarkRef as so, buildXmpMetadata as sp, summarizeBitDepth as sr, BarcodeReadResult as ss, RedactResult as st, detectTransparency as su, InitWasmOptions as t, buildLab as ta, instantiateWasmModuleStreaming as tc, TrailerInfo as td, generateUnderlineAppearance as tf, pdfA4Rules as ti, BatchOptimizeOptions as tl, ellipsePath as tm, BitsPerComponent as tn, PageLabelStyle as to, PdfUaWarning as tp, layoutParagraph as tr, applyPreset as ts, RenderCache as tt, OutputIntentOptions as tu, FacturXAssembleOptions as u, ValidationLevel as ua, TiffImage as uc, validateExtendedKeyUsage as ud, StandardStampName as uf, Invoice as ui, RecompressOptions as ul, setDashPattern as um, MeshVertex as un, removeAllBookmarks as uo, PdfStreamWriter as up, decodeTile as ur, readCode39 as us, OcrEngine as ut, PdfALevel as uu, preflightPdfA as v, buildPieceInfo as va, decodeWebP as vc, extractCrlUrls as vd, PdfSquigglyAnnotation as vf, buildBoxDict as vi, decodeJpegWasm as vl, isTrueType as vm, ColorGlyphLayer as vn, CombedTextLayoutError as vo, createMarkedContentScope as vp, DeferredSignOptions as vr, encodePdf417 as vs, FontFileFormat as vt, isLinearized as vu, buildPdfUa2Xmp as w, ExtractedTable as wa, embedTiffDirect as wc, parseTimestampResponse as wd, PdfLinkAnnotation as wf, buildSampledTransferFunction as wi, RedactionResult as wl, VariableFontInfo as wn, ForeignPageError as wo, drawXObject as wp, WorkerPool as wr, calculateUpcCheckDigit as ws, Canvas2DLike as wt, DssData as wu, autoTagPage as x, buildRequirements as xa, DirectEmbedOptions as xc, extractOcspUrl as xd, FreeTextAlignment as xf, validateBoxGeometry as xi, isJpegWasmReady as xl, saveDocumentIncremental as xm, parseColorFont as xn, FieldAlreadyExistsError as xo, wrapInMarkedContent as xp, SignatureAlgorithm as xr, DataMatrixResult as xs, extractImages as xt, computeObjectHash as xu, AutoTagOptions as y, RequirementType as ya, isWebP as yc, isCertificateRevoked as yd, PdfStrikeOutAnnotation as yf, buildGtsPdfxVersion as yi, encodeJpegWasm as yl, ChangeTracker as ym, CpalPalette as yn, EncryptedPdfError as yo, endArtifact as yp, DeferredSignResult as yr, pdf417ToOperators as ys, extractFonts as yt, linearizePdf as yu, buildBlackPointCompensationExtGState as z, StreamingPdfParser as za, extractJpegMetadata as zc, ByteRangeResult as zd, validateFieldValue as zf, CollectionSchemaField as zi, countOccurrences as zl, RedactionVerificationReport as zn, applyHeaderFooterToPage as zo, showTextArray as zp, RangeFetcher as zr, Code128Options as zs, Rgba as zt, getFieldLocks as zu };
|
|
12571
|
+
//# sourceMappingURL=index-n0WBuf3b.d.mts.map
|