1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-01 11:30:16 +02:00

Change default colorspace in Imagick Factory

This commit is contained in:
Oliver Vogel
2023-11-05 10:40:24 +01:00
parent 27c47ae502
commit 61e5e93af9

View File

@@ -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;