mostafaznv/pdf-optimizer
Optimize and compress PDFs in PHP or Laravel using Ghostscript. Fluent, chainable API with rich options, logging, and customization. Laravel-friendly inputs (paths, uploads, disks) plus 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?