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 |
|---|---|---|
| colorImageDownSampleThreshold | threshold | float |
Sets the downsample threshold for color images.
This is the ratio of image resolution to output resolution above which downsampling may be performed. Must be between 1.0 through 10.0, inclusive.
{% hint style="info" %} If you set the threshold out of range, it reverts to a default of 1.5 {% endhint %}
How can I help you explore Laravel packages today?