From 2be0ad76971124631c0b5b571e3073eaeed0ffa5 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 5 Dec 2022 03:59:47 +0000 Subject: [PATCH] Remove test code --- src/Object/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Object/Image.php b/src/Object/Image.php index f49aa7fdd..8a47d8e88 100644 --- a/src/Object/Image.php +++ b/src/Object/Image.php @@ -57,7 +57,7 @@ class Image */ public function __construct(string $data, string $type = null) { - $this->imagick = class_exists('Imagick') && !class_exists('GDImage'); + $this->imagick = class_exists('Imagick'); $this->types = Images::supportedTypes(); if (!array_key_exists($type, $this->types)) { $type = 'image/jpeg';