mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 09:10:21 +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->newImage($width, $height, new ImagickPixel('rgba(0, 0, 0, 0)'), 'png');
|
||||||
$imagick->setType(Imagick::IMGTYPE_UNDEFINED);
|
$imagick->setType(Imagick::IMGTYPE_UNDEFINED);
|
||||||
$imagick->setImageType(Imagick::IMGTYPE_UNDEFINED);
|
$imagick->setImageType(Imagick::IMGTYPE_UNDEFINED);
|
||||||
$imagick->setColorspace(Imagick::COLORSPACE_UNDEFINED);
|
$imagick->setColorspace(Imagick::COLORSPACE_RGB);
|
||||||
|
|
||||||
return $imagick;
|
return $imagick;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user