Merge branch '8.5'
This commit is contained in:
commit
d1be9dd1ce
@ -17,8 +17,8 @@ The thumbnailing functionality is implemented by `vips_thumbnail()` and
|
|||||||
see the docs for details. You can use these functions from any language
|
see the docs for details. You can use these functions from any language
|
||||||
with a libvips binding. For example, from PHP you could write:
|
with a libvips binding. For example, from PHP you could write:
|
||||||
|
|
||||||
```php
|
```php?start_inline=1
|
||||||
$filename = ...;
|
$filename = "image.jpg";
|
||||||
$image = Vips\Image::thumbnail($filename, 200, ["height" => 200]);
|
$image = Vips\Image::thumbnail($filename, 200, ["height" => 200]);
|
||||||
$image->writeToFile("my-thumbnail.jpg");
|
$image->writeToFile("my-thumbnail.jpg");
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user