mirror of
https://github.com/Intervention/image.git
synced 2025-08-29 08:40:33 +02:00
Create new images with RGB colorspace
This commit is contained in:
@@ -57,7 +57,7 @@ class ImageFactory implements FactoryInterface
|
||||
$imagick->newImage($width, $height, new ImagickPixel('rgba(0, 0, 0, 0)'), 'png');
|
||||
$imagick->setType(Imagick::IMGTYPE_UNDEFINED);
|
||||
$imagick->setImageType(Imagick::IMGTYPE_UNDEFINED);
|
||||
$imagick->setColorspace(Imagick::COLORSPACE_UNDEFINED);
|
||||
$imagick->setColorspace(Imagick::COLORSPACE_RGB);
|
||||
|
||||
return $imagick;
|
||||
}
|
||||
|
Reference in New Issue
Block a user