<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>The HaruImage class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="harufont.measuretext.html">HaruFont::measureText</a></div> <div class="next" style="text-align: right; float: right;"><a href="haruimage.getbitspercomponent.html">HaruImage::getBitsPerComponent</a></div> <div class="up"><a href="book.haru.html">haru</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="class.haruimage" class="reference"> <h1 class="title">The HaruImage class</h1> <div class="partintro"><p class="verinfo">(PECL haru >= 0.0.1)</p> <div class="section" id="haruimage.intro"> <h2 class="title">Introduction</h2> <p class="para"> Haru PDF Image Class. </p> </div> <div class="section" id="haruimage.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <strong class="classname">HaruImage</strong> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><a href="haruimage.getbitspercomponent.html" class="methodname">getBitsPerComponent</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="type">string</span> <span class="methodname"><a href="haruimage.getcolorspace.html" class="methodname">getColorSpace</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><a href="haruimage.getheight.html" class="methodname">getHeight</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="type">array</span> <span class="methodname"><a href="haruimage.getsize.html" class="methodname">getSize</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><a href="haruimage.getwidth.html" class="methodname">getWidth</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="haruimage.setcolormask.html" class="methodname">setColorMask</a></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$rmin</code></span> , <span class="methodparam"><span class="type">int</span> <code class="parameter">$rmax</code></span> , <span class="methodparam"><span class="type">int</span> <code class="parameter">$gmin</code></span> , <span class="methodparam"><span class="type">int</span> <code class="parameter">$gmax</code></span> , <span class="methodparam"><span class="type">int</span> <code class="parameter">$bmin</code></span> , <span class="methodparam"><span class="type">int</span> <code class="parameter">$bmax</code></span> )</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><a href="haruimage.setmaskimage.html" class="methodname">setMaskImage</a></span> ( <span class="methodparam"><span class="type">object</span> <code class="parameter">$mask_image</code></span> )</div> }</div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="haruimage.getbitspercomponent.html">HaruImage::getBitsPerComponent</a> — Get the number of bits used to describe each color component of the image</li><li><a href="haruimage.getcolorspace.html">HaruImage::getColorSpace</a> — Get the name of the color space</li><li><a href="haruimage.getheight.html">HaruImage::getHeight</a> — Get the height of the image</li><li><a href="haruimage.getsize.html">HaruImage::getSize</a> — Get size of the image</li><li><a href="haruimage.getwidth.html">HaruImage::getWidth</a> — Get the width of the image</li><li><a href="haruimage.setcolormask.html">HaruImage::setColorMask</a> — Set the color mask of the image</li><li><a href="haruimage.setmaskimage.html">HaruImage::setMaskImage</a> — Set the image mask</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="harufont.measuretext.html">HaruFont::measureText</a></div> <div class="next" style="text-align: right; float: right;"><a href="haruimage.getbitspercomponent.html">HaruImage::getBitsPerComponent</a></div> <div class="up"><a href="book.haru.html">haru</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>