ok

Mini Shell

Direktori : /home2/selectio/www/3-idiots/vendor/league/glide/docs/1.0/config/
Upload File :
Current File : //home2/selectio/www/3-idiots/vendor/league/glide/docs/1.0/config/image-driver.md

---
layout: default
title: Image driver
---

# Image driver

By default Glide uses the [GD](http://php.net/manual/en/book.image.php) library. However you can also use Glide with [ImageMagick](http://www.imagemagick.org/) if the [Imagick](http://php.net/manual/en/book.imagick.php) PHP extension is installed.

~~~ php
<?php

$server = League\Glide\ServerFactory::create([

    // Use GD (default)
    'driver' => 'gd',

    // Use ImageMagick
    'driver' => 'imagick',
]);
~~~

Zerion Mini Shell 1.0