Pdftools SDK von Pdftools
Pdftools SDK 1.21.0: Redundante Grafikstatus-Paare entfernen
Neue Option zum Entfernen redundanter Grafikstatus-Paare beim Optimieren sowie Korrekturen für Objekt-Lebenszyklus und Speicherlecks.
13 October 2026
Added
- Remove redundant graphics state save and restore pairs (
q/Q) when optimizing, with theRemovalOptions.RemoveRedundantGraphicsStatesproperty. The page appearance doesn’t change, and deeply nested content stays within the nesting limit of PDF/A-1. The property isfalseby default. For details, refer to theRemovalOptionsAPI reference:
Fixed
Before this update, the .NET garbage collector could release a native object while a call on it was still running, so applications under load could crash with an access violation. With this release, this no longer happens. Using a disposed object throws an
ObjectDisposedException, which derives fromInvalidOperationException.Before this update, signing and signature validation leaked memory. With this release, they no longer leak memory. …