|
@@ -1008,9 +1008,8 @@ class Img
|
|
|
$this->_check('quality');
|
|
|
$this->_dest['compress'] = $this->getName('_compress.jpg');
|
|
|
|
|
|
-
|
|
|
+ $this->_image->stripImage();
|
|
|
if (strstr($this->_dest['compress'], '.png')) {
|
|
|
- $this->_image->stripImage();
|
|
|
$this->_image->setImageType(\Imagick::IMGTYPE_PALETTE);
|
|
|
$this->_image->writeImage($this->_dest['compress']);
|
|
|
} else {
|