PHP Class Horde_Image_Effect_Imagick_PhotoStack, horde

The technique for the Polaroid-like stack using the Imagick extension is credited to Mikko Koppanen and is documented at http://valokuva.org
Author: Michael J. Rubinsky ([email protected])
Inheritance: extends Horde_Image_Effect
ファイルを表示 Open project: horde/horde

Protected Properties

Property Type Description
$_params array - type: (string) Determines the style for the composition. 'plain' or 'polaroid' are supported. - resize_height: (integer) The height that each individual thumbnail should be resized to before composing on the image. - padding: (integer) How much padding should we ensure is left around the active image area? - background: (string) The background canvas color - this is used as the color to set any padding to. - bordercolor: (string) If using type 'plain' this sets the color of the border that each individual thumbnail gets. - borderwidth: (integer) If using type 'plain' this sets the width of the border on each individual thumbnail. - offset: (integer) If using type 'plain' this determines the amount of x and y offset to give each successive image when it is placed on the top of the stack.

Public Methods

Method Description
apply ( ) Applies the effect.

Private Methods

Method Description
_roundBorder ( $image )

Method Details

apply() public method

Applies the effect.
public apply ( )

Property Details

$_params protected_oe property

- type: (string) Determines the style for the composition. 'plain' or 'polaroid' are supported. - resize_height: (integer) The height that each individual thumbnail should be resized to before composing on the image. - padding: (integer) How much padding should we ensure is left around the active image area? - background: (string) The background canvas color - this is used as the color to set any padding to. - bordercolor: (string) If using type 'plain' this sets the color of the border that each individual thumbnail gets. - borderwidth: (integer) If using type 'plain' this sets the width of the border on each individual thumbnail. - offset: (integer) If using type 'plain' this determines the amount of x and y offset to give each successive image when it is placed on the top of the stack.
protected array $_params
return array