Skip to content

Add option to skip PDF byte normalization#18

Merged
SimonCropp merged 1 commit into
mainfrom
Add-option-to-skip-PDF-byte-normalization
Jul 23, 2026
Merged

Add option to skip PDF byte normalization#18
SimonCropp merged 1 commit into
mainfrom
Add-option-to-skip-PDF-byte-normalization

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Introduces SkipPdfNormalization as a SettingsTask extension backed by a new context key, allowing callers to snapshot PDF bytes exactly as produced. Convert now normalizes bytes only when this flag is not set, while preserving existing behavior by default. The added XML docs clarify when to use this setting and the snapshot impact of toggling it (notably XMP canonicalization changes).

Introduces `SkipPdfNormalization` as a `SettingsTask` extension backed by a new context key, allowing callers to snapshot PDF bytes exactly as produced. `Convert` now normalizes bytes only when this flag is not set, while preserving existing behavior by default. The added XML docs clarify when to use this setting and the snapshot impact of toggling it (notably XMP canonicalization changes).
@SimonCropp SimonCropp added this to the 1.4.0 milestone Jul 23, 2026
@SimonCropp
SimonCropp merged commit 3fd22e9 into main Jul 23, 2026
4 of 6 checks passed
@SimonCropp
SimonCropp deleted the Add-option-to-skip-PDF-byte-normalization branch July 23, 2026 05:40
@github-actions
github-actions Bot restored the Add-option-to-skip-PDF-byte-normalization branch July 23, 2026 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant