Source for file marquee.php
Documentation is available at marquee.php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */
* Load Image_Tools marquee tool
require_once 'Image/Tools.php';
// Create destination image when masked sample image will be draw.
$filename = 'images/master.png';
// Sets sample image, x position and y position.
'sample' => 'images/pear.png',
// Create new Image_Tools_Marquee object instance
if (PEAR ::isError ($toolMarquee)) {
die ($toolMarquee->toString ());
// Sets rectangle marquee
$toolMarquee->setRectangleMarquee (10 , 10 , 40 , 40 );
// Apply marquee to the image and send it to browser
$err = $toolMarquee->display ();
if (PEAR ::isError ($err)) {
* c-hanging-comment-ender-p: nil
Documentation generated on Mon, 11 Mar 2019 14:13:44 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|