Skip to content

Commit

Permalink
Fix background generation for Im PhotoStack effect.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 20, 2017
1 parent cbdc5b7 commit 5197b4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/Image/lib/Horde/Image/Effect/Im/PhotoStack.php
Expand Up @@ -143,14 +143,14 @@ public function apply()
. '+' . mt_rand(1, $this->_params['resize_height'])
. ' -thumbnail \'' . $this->_params['resize_height']
. 'x' . $this->_params['resize_height']
. '>\' -bordercolor Snow -border 1 -polaroid '
. '>\' -bordercolor Snow -border 1 -polaroid '
. $angle . ' \) ';
}
$this->_image->addPostSrcOperation(
'-background none' . $ops
'-background ' . $this->_params['background'] . ' ' . $ops
. '-mosaic -bordercolor ' . $this->_params['background']
. ' -border ' . $this->_params['padding']);
} else {
} else {
// An attempt at a -polaroid command free version of this
// effect based on various examples and ideas at
// http://imagemagick.org
Expand Down

0 comments on commit 5197b4d

Please sign in to comment.