diff --git a/src/Drivers/Gd/GdDriver.php b/src/Drivers/Gd/GdDriver.php index 29d7166e..38a51403 100644 --- a/src/Drivers/Gd/GdDriver.php +++ b/src/Drivers/Gd/GdDriver.php @@ -86,7 +86,7 @@ public function loadFile(string $path, bool $autoRotate = true): static $this->setExif($path); - $image = imagecreatefromstring($contents); + $image = @imagecreatefromstring($contents); if (! $image) { throw CouldNotLoadImage::make($path);