protected function createImagineInstance()
    {
        $driver = ConfigQuery::read("imagine_graphic_driver", "gd");

        switch ($driver) {
            case 'imagick':
                $image = new ImagickImagine();
                break;

            case 'gmagick':
                $image = new GmagickImagine();
                break;

            case 'gd':
            default:
                $image = new Imagine();
        }

        return $image;
    }
protected function createImagineInstance()
    {
        $driver = ConfigQuery::read("imagine_graphic_driver", "gd");

        switch ($driver) {
            case 'imagick':
                $image = new ImagickImagine();
                break;

            case 'gmagick':
                $image = new GmagickImagine();
                break;

            case 'gd':
            default:
                $image = new Imagine();
        }

        return $image;
    }
protected function createImagineInstance ( ) { $ driver = ConfigQuery :: read ( "imagine_graphic_driver" , "gd" ) ; switch ( $ driver ) { case 'imagick' : $ image = new ImagickImagine ( ) ; break ; case 'gmagick' : $ image = new GmagickImagine ( ) ; break ; case 'gd' : default : $ image = new Imagine ( ) ; } return $ image ; }
Create a new Imagine object using current driver configuration

@return ImagineInterface
Create a new Imagine object using current driver configuration