1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-10 16:04:04 +02:00

Edit readme

This commit is contained in:
Oliver Vogel
2023-11-27 19:41:48 +01:00
parent 2a9b564f2f
commit 59832ada80

View File

@@ -6,11 +6,11 @@
[![Monthly Downloads](https://img.shields.io/packagist/dm/intervention/image.svg)](https://packagist.org/packages/intervention/image/stats) [![Monthly Downloads](https://img.shields.io/packagist/dm/intervention/image.svg)](https://packagist.org/packages/intervention/image/stats)
Intervention Image is a **image handling and manipulation library written in Intervention Image is a **image handling and manipulation library written in
PHP** providing an easier and expressive way to create, edit, and compose PHP** providing an easy and expressive way to create, edit, and compose
images. GD library or Imagick can be selected as the base layer for all images. GD library or Imagick can be selected as the base layer for all
operations. operations.
- Simple interface for common tasks - Simple interface for common image manipulation tasks
- Interchangable driver architecture - Interchangable driver architecture
- Support for animated images - Support for animated images
- Framework-agnostic - Framework-agnostic
@@ -32,7 +32,9 @@ documentation](https://image.intervention.io/v3/).
```php ```php
// create image manager with desired driver // create image manager with desired driver
$manager = new ImageManager(driver: 'gd'); $manager = new ImageManager(
new Intervention\Image\Drivers\Gd\Driver()
);
// open an image file // open an image file
$image = $manager->read('images/example.gif'); $image = $manager->read('images/example.gif');