diff --git a/src/app/code/community/Varien/Image/Adapter/Imagemagic.php b/src/app/code/community/Varien/Image/Adapter/Imagemagic.php index a5c6ce2..dc60d93 100644 --- a/src/app/code/community/Varien/Image/Adapter/Imagemagic.php +++ b/src/app/code/community/Varien/Image/Adapter/Imagemagic.php @@ -141,8 +141,10 @@ public function resize($frameWidth = null, $frameHeight = null) // Fill desired canvas if ($this->keepFrame() === TRUE - && $frameWidth != $origWidth - && $frameHeight != $origHeight + && ( + $frameWidth != $origWidth + || $frameHeight != $origHeight + ) ) { $composite = new Imagick(); $color = $this->_backgroundColor;