Class Horde_Image_Effect_im_photo_stack

Description

Effect for composing multiple images into a single image.

The technique for the Polaroid-like stack using the Imagick extension is credited to Mikko Koppanen and is documented at http://valokuva.org

$Horde: framework/Image/Image/Effect/im/photo_stack.php,v 1.33.2.4 2009/03/23 18:15:48 mrubinsk Exp $

Located in /Image/Image/Effect/im/photo_stack.php (line 14)

Horde_Image_Effect
   |
   --Horde_Image_Effect_im_photo_stack
Variable Summary
 array $_params
Method Summary
 void apply ()
 void _roundBorder ( $image)
Variables
array $_params = array('type' => 'plain',
'resize_height' => '150',
'padding' => 0,
'background' => 'none',
'bordercolor' => '#333',
'borderwidth' => 1,
'borderrounding' => 10,
'offset' => 5
)
(line 47)

Valid parameters for the stack effect

images - An array of Horde_Image objects to stack. Images are stacked in a FIFO manner, so that the top-most image is the last one in this array.

type - Determines the style for the composition. 'plain' or 'polaroid' are supported.

resize_height - The height that each individual thumbnail should be resized to before composing on the image.

padding - How much padding should we ensure is left around the active image area?

background - The background canvas color - this is used as the color to set any padding to.

bordercolor - If using type 'plain' this sets the color of the border that each individual thumbnail gets.

borderwidth - If usin type 'plain' this set the width of the border on each individual thumbnail.

offset - 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.


Redefinition of:
Horde_Image_Effect::$_params
Effect parameters.

Inherited Variables

Inherited from Horde_Image_Effect

Horde_Image_Effect::$_image
Methods
apply (line 61)

Create the photo_stack

void apply ()
_roundBorder (line 303)
void _roundBorder ( $image)
  • $image

Inherited Methods

Inherited From Horde_Image_Effect

 Horde_Image_Effect::Horde_Image_Effect()
 Horde_Image_Effect::factory()
 Horde_Image_Effect::_setImageObject()

Documentation generated on Sun, 30 Jan 2011 05:20:36 +0000 by phpDocumentor 1.4.3