fix php formatting
thanks @kleisauke !
This commit is contained in:
parent
9434f1f86d
commit
f0cb008e23
@ -17,7 +17,7 @@ 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 = "image.jpg";
|
$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