Updated image driver in ImageManager
The image driver used in the ImageManager instance has been switched from Imagick to Gd. This change should not affect any existing functionality but may improve performance and compatibility with different server setups.
This commit is contained in:
parent
e6a112da9f
commit
fc36888b7d
@ -11,7 +11,7 @@ use Intervention\Image\ImageManager;
|
|||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
// create an image manager instance with favored driver
|
// create an image manager instance with favored driver
|
||||||
$manager = new ImageManager(\Intervention\Image\Drivers\Imagick\Driver::class);
|
$manager = new ImageManager(\Intervention\Image\Drivers\Gd\Driver::class);
|
||||||
if(php_sapi_name() == 'cli') {
|
if(php_sapi_name() == 'cli') {
|
||||||
$args = NULL;
|
$args = NULL;
|
||||||
parse_str($argv[1], $args);
|
parse_str($argv[1], $args);
|
||||||
|
Loading…
Reference in New Issue
Block a user