From 61e5e93af990ae1dcb46029659b20c78d5b2d0fa Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Sun, 5 Nov 2023 10:40:24 +0100 Subject: [PATCH] Change default colorspace in Imagick Factory --- src/Drivers/Imagick/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Drivers/Imagick/Factory.php b/src/Drivers/Imagick/Factory.php index 910d3ff4..bb441623 100644 --- a/src/Drivers/Imagick/Factory.php +++ b/src/Drivers/Imagick/Factory.php @@ -81,7 +81,7 @@ class Factory implements FactoryInterface $imagick->newImage($width, $height, $pixel, 'png'); $imagick->setType(Imagick::IMGTYPE_UNDEFINED); $imagick->setImageType(Imagick::IMGTYPE_UNDEFINED); - $imagick->setColorspace(Imagick::COLORSPACE_RGB); + $imagick->setColorspace(Imagick::COLORSPACE_SRGB); $imagick->setImageResolution(96, 96); return $imagick;