Repository navigation
v0.0.21
Pre-release
Pre-release
Important
This is still very much a work in progress, so expect breaking changes.
Fixes
- PDF/A remediation adds
/DefaultCMYKonly to the pages that paint DeviceCMYK. Once it added an sRGB output intent, remediation put a 28 KB CMYK profile on every page, including pages that paint only RGB. A one-page Chromium invoice remediated to PDF/A-3b drops from 48,203 to 19,608 bytes, and veraPDF still passes it (#8). - Embedded files are written under FlateDecode when that makes them smaller. This covers
Writer.AddAttachment,Writer.AddAssociatedFileand the invoice XML thatWriter.RemediateFacturXembeds./Params /Sizekeeps the decoded length. The EN 16931 sample invoice drops from 3,814 to 1,052 bytes (#8).