XOOPS RMCommon Utilities
2.1.8.91RC
|
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) | |
Definition at line 30 of file compose.php.
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
$file | String - the path to the file |
$ext | String - 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().
phMagick_compose::tile | ( | phmagick | $p, |
Array | $paths = null , |
||
$tileWidth = '' , |
|||
$tileHeight = 1 |
|||
) |
Joins severall imagens in one tab strip
$paths | Array 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().
phMagick_compose::watermark | ( | phmagick | $p, |
$watermarkImage, | |||
$gravity = 'center' , |
|||
$transparency = 50 |
|||
) |
Add's an watermark to an image
$watermarkImage | String - Image path |
$gravity | phMagickGravity - The placement of the watermark |
$transparency | Integer - 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().