Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yurkinx authored Jan 25, 2019
1 parent 96a2e44 commit 590795d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ $image->resize($width, $height, \yii\image\drivers\Image::HEIGHT);
$image->resize($width, $height, \yii\image\drivers\Image::ADAPT)->background('#fff');
```
**Using resize with resize constrains and best quality output image [for Imagick driver only]**

Use 1 for best speed and lower quality, 100 for best quality and lower speed. Only values 1,100 currently supported
```php
$image->resize($width, NULL, \yii\image\drivers\Image::HEIGHT, 100);
$image->resize($width, NULL, \yii\image\drivers\Image::WIDTH, 100);
```

Possible resize constrains:
Expand Down

0 comments on commit 590795d

Please sign in to comment.