Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdesign committed Mar 7, 2021
1 parent 4f75e8f commit 28a2a08
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,20 @@ Display as:
<img src="img/apple.jpg" alt="Apple" width="300" height="100">
</picture>
```
Use GD2 lib for webp thumbs:

```php
<?php

$thumb = $juImg->render('images/sampledata/fruitshop/apple.jpg', [
'w' => '300',
'h' => '100',
'q' => '95',
'webp' => true,
'imagemagick' => false
]);
?>
```

| WebP command | Type | Default | Description
| --- | --- | --- | --- |
Expand Down

0 comments on commit 28a2a08

Please sign in to comment.