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 |
|---|---|---|
| useFlateCompression | status | boolean |
Because the LZW compression scheme was covered by patents at the time this device was created, pdfwrite does not actually use LZW compression: all requests for LZW compression are ignored. UseFlateCompression is treated as always on, but the switch CompressPages can be set too false to turn off page level stream compression. Now that the patent has expired, we could change this should it become worthwhile.
How can I help you explore Laravel packages today?