Skip to content

Commit

Permalink
Explain upscale and output options in config, clarify quality is only…
Browse files Browse the repository at this point in the history
… for jpeg
  • Loading branch information
nickdekruijk committed Oct 4, 2018
1 parent f0f65f7 commit 2438805
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@
|--------------------------------------------------------------------------
|
| type: crop or fit
| quality: jpeg quality in percentage (0 - 100)
| quality: jpeg quality in percentage (0 - 100, ignored for gif/png)
| width: image width (or maximum width when type is 'fit')
| height: image height (or maximum height when type is 'fit')
| grayscale: when true apply IMG_FILTER_GRAYSCALE filter
| blur: use IMG_FILTER_GAUSSIAN_BLUR filter (higher value is stronger blur)
| upscale: when true upscale the image if the template width and height are larger than original (defaults to false)
| output: Force a specific scaled image format (jpeg/gif/png) instead of original
|
*/

Expand Down

0 comments on commit 2438805

Please sign in to comment.