Source for file index.php
Documentation is available at index.php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker */
// $Id: index.php,v 1.1 2008/05/26 03:03:26 firman Exp $
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<title>Demo of PEAR::Image_Tools</title>
<p>This is demo of <a href="http://pear.php.net/package/Image_Tools">PEAR::Image_Tools</a></p>
<p>Available tool/driver:
<li><a href="#blend">Blend</a> (available since Release 1.0.0RC1)</li>
<li><a href="#border">Border</a></li>
<li><a href="#marquee">Marquee</a></li>
<li><a href="#mask">Mask</a></li>
<li><a href="#swap">Swap</a></li>
<li><a href="#thumbnail">Thumbnail</a></li>
<li><a href="#watermark">Watermark</a> (available since Release 1.0.0RC1)</li>
<img src="images/3dgirl.jpg" alt="3D girl" />
<img src="images/masker.png" alt="Masker" />
<img src="images/zebra.jpg" alt="Zebra" />
<img src="images/watermark.png" alt="Watermark" />
<img src="images/blending.png" alt="Blending" />
<h2><a id="blend">Blend</a></h2>
<p>Apply the blending mode between two images.</p>
<img src="blend.php?mode=normal" alt="normal" />
<img src="blend.php?mode=multiply" alt="multiply" />
<img src="blend.php?mode=screen" alt="screen" />
<img src="blend.php?mode=darken" alt="darken" />
<img src="blend.php?mode=lighten" alt="lighten" />
<img src="blend.php?mode=difference" alt="difference" />
<img src="blend.php?mode=exclusion" alt="exclusion" />
<img src="blend.php?mode=negation" alt="negation" />
<img src="blend.php?mode=interpolation" alt="interpolation" />
<img src="blend.php?mode=stamp" alt="stamp" />
<img src="blend.php?mode=softlight" alt="softlight" />
<img src="blend.php?mode=hardlight" alt="hardlight" />
<img src="blend.php?mode=overlay" alt="overlay" />
<img src="blend.php?mode=colordodge" alt="colordodge" />
<img src="blend.php?mode=colorburn" alt="colorburn" />
<img src="blend.php?mode=softdodge" alt="softdodge" />
<img src="blend.php?mode=softburn" alt="softburn" />
<img src="blend.php?mode=additive" alt="additive" />
<img src="blend.php?mode=subtractive" alt="subtractive" />
<img src="blend.php?mode=reflect" alt="reflect" />
<img src="blend.php?mode=glow" alt="glow" />
<img src="blend.php?mode=freeze" alt="freeze" />
<img src="blend.php?mode=heat" alt="heat" />
<img src="blend.php?mode=logicXOR" alt="logicxor" />
<img src="blend.php?mode=logicAND" alt="logicand" />
<img src="blend.php?mode=logicOR" alt="logicor" />
<h2><a id="border">Border</a></h2>
<p>Border creation, there are rounded rectangle, bevel and line styles.</p>
<img src="border.php?style=rounded" alt="rounded" />
<img src="border.php?style=bevel" alt="bevel" />
<img src="border.php?style=line" alt="line" />
<h2><a id="marquee">Marquee</a></h2>
<p><img src="marquee.php" alt="marquee" /></p>
<h2><a id="mask">Mask</a></h2>
<p>Use to image to create a masking and attach it into destination image.</p>
<img src="mask.php" alt="mask" />
<h2><a id="swap">Swap</a></h2>
<p>Swap the color between R (Red), G (Green), B (Blue) into RBG, BGR, BRG, GRB or GBR.</p>
<img src="swap.php?format=RBG" alt="RBG" />
<img src="swap.php?format=BGR" alt="BGR" />
<img src="swap.php?format=BRG" alt="BRG" />
<img src="swap.php?format=GRB" alt="GRB" />
<img src="swap.php?format=GBR" alt="GBR" />
<h2><a id="thumbnail">Thumbnail</a></h2>
<p>Create a thumbnail of image. Support scale maximum, scale minimun and crop method, also
able to set the horizontal alignment and vertical alignment direction.</p>
<img src="thumbnail.php" alt="scalemax" />
<img src="thumbnail.php?method=scale_min" alt="scalemin" />
<img src="thumbnail.php?method=crop" alt="crop" />
<img src="thumbnail.php?method=crop&halign=left" alt="left" />
<img src="thumbnail.php?method=crop&halign=right" alt="right" />
<img src="thumbnail.php?method=crop&valign=top" alt="top" />
<img src="thumbnail.php?method=crop&valign=bottom" alt="bottom" />
<h2><a id="watermark">Watermark</a></h2>
<p>Add a visible watermark to the image.</p>
<img src="watermark.php" alt="watermark" />
Documentation generated on Mon, 11 Mar 2019 15:22:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|