We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fd9733 commit 4d801c5Copy full SHA for 4d801c5
lib/internal/Magento/Framework/Image/Adapter/ImageMagick.php
@@ -615,7 +615,7 @@ private function maybeConvertColorspace(): void
615
{
616
if ($this->colorspace === \Imagick::COLORSPACE_CMYK || $this->colorspace === \Imagick::COLORSPACE_UNDEFINED) {
617
$this->_imageHandler->transformImageColorspace(\Imagick::COLORSPACE_SRGB);
618
- $this->colorspace = \Imagick::COLORSPACE_SRGB;
+ $this->colorspace = $this->_imageHandler->getImageColorspace();
619
}
620
621
0 commit comments