From 59832ada8011cc47ea245ee31c44c9144e7775e3 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Mon, 27 Nov 2023 19:41:48 +0100 Subject: [PATCH] Edit readme --- readme.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index c125b506..e3b6e8d0 100644 --- a/readme.md +++ b/readme.md @@ -6,11 +6,11 @@ [![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 -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 operations. -- Simple interface for common tasks +- Simple interface for common image manipulation tasks - Interchangable driver architecture - Support for animated images - Framework-agnostic @@ -32,7 +32,9 @@ documentation](https://image.intervention.io/v3/). ```php // create image manager with desired driver -$manager = new ImageManager(driver: 'gd'); +$manager = new ImageManager( + new Intervention\Image\Drivers\Gd\Driver() +); // open an image file $image = $manager->read('images/example.gif');