mostafaznv/pdf-optimizer
Optimize and compress PDFs in PHP or Laravel using Ghostscript. Fluent API with extensive option support, logging, and customization. Works with file paths, UploadedFile, and storage disks, with optional queue support for async optimization.
| Method Name | Argument Name | Argument Type |
|---|---|---|
| subsetFonts | status | boolean |
If true, font subsetting is enabled.
If false, subsetting is not enabled. Font subsetting embeds only those glyphs that are used in a document, instead of the entire font. This reduces the size of a PDF file that contains embedded fonts. If font subsetting is enabled, the application determines whether to embed the entire font or a subset by the number of glyphs in the font that are used (including component glyphs referenced by seac glyphs), and the value of MaxSubsetPct.
How can I help you explore Laravel packages today?