Source for file mask.php
Documentation is available at mask.php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */
// CVS: $Id: mask.php,v 1.1 2005/10/02 17:53:00 firman Exp $
require_once 'Image/Tools.php';
// Sets mask and sample image.
'image' => 'images/master.png',
'mask' => 'images/mask.png',
'sample' => 'images/pear.png'
// Create new instance of Image_Mask
if (PEAR ::isError ($toolMask)) {
die ($toolMask->toString ());
// Apply mask and send the result image to browser
$err = $toolMask->display ();
if (PEAR ::isError ($err)) {
* c-hanging-comment-ender-p: nil
Documentation generated on Thu, 23 Nov 2006 18:00:06 -0500 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.
|