diff --git a/README.md b/README.md index fac02da..5840311 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

Nova Advanced Image Field

- StyleCI + StyleCI Latest Version on Packagist Total Downloads License @@ -120,19 +120,6 @@ AdvancedImage::make('Photo')->autoOrientate(), _Note: PHP must be compiled in with `--enable-exif` to use this method. Windows users must also have the mbstring extension enabled. See [the Intervention Image documentation](https://image.intervention.io/v2/api/orientate) for more details._ -### `convert(string $format)` - -Specify the desired output image format. - -```php -AdvancedImage::make('Photo')->convert('webp'), -``` - -_Note: _ - -- _To see all the supported formats that can be used to convert your files see [Intervention Image `encode()`]:(https://image.intervention.io/v2/api/encode._ -- _For WebP support GD driver must be used with PHP 5 >= 5.5.0 or PHP 7 in order to use imagewebp(). If Imagick is used, it must be compiled with libwebp for WebP support._ - ### `quality(int $quality)` Specify the resulting quality of the transformed image. @@ -144,3 +131,13 @@ AdvancedImage::make('Photo')->resize(600, 400)->quality(95), ``` _Note: the quality will be passed to the [Intervention Image `save()`](https://image.intervention.io/v2/api/save) method._ + +### `convert(string $format)` + +Specify the desired output format. + +```php +AdvancedImage::make('Photo')->convert('webp'), +``` + +_Note: See [Intervention Image `encode()`](https://image.intervention.io/v2/api/encode) for more details, including the list of allowed formats._ \ No newline at end of file