1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-03 02:42:45 +02:00

Change code examples and requirements in readme

This commit is contained in:
Oliver Vogel
2023-09-29 17:06:31 +02:00
parent b8f753b33f
commit cdee873d8a
2 changed files with 39 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ $manager = new ImageManager('gd')
$image = $manager->make('images/example.gif');
// resize image instance
$image->resize(320, 240);
$image->resize(height: 300);
// insert a watermark
$image->place('images/watermark.png');
@@ -37,7 +37,7 @@ $encoded->save('images/example.jpg');
## Requirements
- PHP >=8.0
- PHP >= 8.1
## Supported Image Libraries