XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
phMagick_compose Class Reference

Public Member Functions

 acquireFrame (phmagick $p, $file, $frames=0)
 
 tile (phmagick $p, Array $paths=null, $tileWidth= '', $tileHeight=1)
 
 watermark (phmagick $p, $watermarkImage, $gravity= 'center', $transparency=50)
 

Detailed Description

Definition at line 30 of file compose.php.

Member Function Documentation

phMagick_compose::acquireFrame ( phmagick  $p,
  $file,
  $frames = 0 
)

Attempts to create an image(s) from a File (PDF & Avi are supported on most systems) it grabs the first frame / page from the source file

Parameters
$fileString - the path to the file
$extString - the extention of the generated image

Definition at line 80 of file compose.php.

References $file, $p, phmagick\execute(), phmagick\getBinary(), phmagick\getDestination(), phmagick\setHistory(), and phmagick\setSource().

Here is the call graph for this function:

phMagick_compose::tile ( phmagick  $p,
Array  $paths = null,
  $tileWidth = '',
  $tileHeight = 1 
)

Joins severall imagens in one tab strip

Parameters
$pathsArray of Strings - the paths of the images to join

Definition at line 59 of file compose.php.

References $p, phmagick\execute(), phmagick\getBinary(), phmagick\getDestination(), phmagick\getHistory(), phMagickHistory\returnArray, phmagick\setHistory(), and phmagick\setSource().

Here is the call graph for this function:

phMagick_compose::watermark ( phmagick  $p,
  $watermarkImage,
  $gravity = 'center',
  $transparency = 50 
)

Add's an watermark to an image

Parameters
$watermarkImageString - Image path
$gravityphMagickGravity - The placement of the watermark
$transparencyInteger - 1 to 100 the tranparency of the watermark (100 = opaque)

Definition at line 38 of file compose.php.

References $p, phmagick\execute(), phmagick\getBinary(), phmagick\getDestination(), phmagick\getSource(), phmagick\setHistory(), and phmagick\setSource().

Here is the call graph for this function:


The documentation for this class was generated from the following file: