Skip to content

Commit 152c772

Browse files
author
Stanislav Idolov
committed
AC-1356: Integration test crashes php when using GD library 2.3.3
1 parent 96f9f89 commit 152c772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Image/Adapter/ImageMagick.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function save($destination = null, $newName = null)
163163
*/
164164
protected function _applyOptions()
165165
{
166-
$this->_imageHandler->setImageCompressionQuality($this->quality());
166+
$this->_imageHandler->setImageCompressionQuality((int)$this->quality());
167167
$this->_imageHandler->setImageCompression(\Imagick::COMPRESSION_JPEG);
168168
$this->_imageHandler->setImageUnits(\Imagick::RESOLUTION_PIXELSPERINCH);
169169
$this->_imageHandler->setImageResolution(

0 commit comments

Comments
 (0)