THPDFLoadedDocumentCompressionOptions Record
Chooses which steps THotPDF.CompressLoadedDocument applies to a loaded document. Each step is lossless
RemoveUnusedResources discards page resources that no content references
DeduplicateResources merges identical embedded fonts and Form XObjects into single copies
SubsetFonts trims embedded fonts down to the glyphs the document actually shows, and CompactFontSubsets turns those subsets compact wherever the font permits; see THPDFLoadedFontSubsetOptions
RecompressStreams re-encodes unfiltered, Flate, LZW, ASCII85, ASCIIHex and RunLength streams as FlateDecode whenever that proves smaller; HighRatioFlate trades extra time for a smaller result
UseObjectStreams writes the next save using a cross-reference stream and object streams of up to 250 objects each, unless ConfigureAdaptiveObjectStreamPacking has set another limit; PDF/A-1 and incremental updates skip it, and the version moves up to PDF 1.5 where needed and permitted
AllowSignatureInvalidation permits the call to rewrite a document carrying signature fields, thereby invalidating the signatures
Default enables every step apart from HighRatioFlate and declines signed documents