downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the Git repository for this website on git.php.net.

Source of: /manual/en/harudoc.loadjpeg.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/class.harudoc.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'harudoc.loadjpeg.php',
   
1 => 'HaruDoc::loadJPEG',
  ),
 
'up' =>
  array (
   
0 => 'class.harudoc.php',
   
1 => 'HaruDoc',
  ),
 
'prev' =>
  array (
   
0 => 'harudoc.insertpage.php',
   
1 => 'HaruDoc::insertPage',
  ),
 
'next' =>
  array (
   
0 => 'harudoc.loadpng.php',
   
1 => 'HaruDoc::loadPNG',
  ),
 
'alternatives' =>
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="harudoc.loadjpeg" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">HaruDoc::loadJPEG</h1>
  <p class="verinfo">(PECL haru &gt;= 0.0.1)</p><p class="refpurpose"><span class="refname">HaruDoc::loadJPEG</span> &mdash; <span class="dc-title">Load a JPEG image</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-harudoc.loadjpeg-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">object</span> <span class="methodname"><strong>HaruDoc::loadJPEG</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span>
   )</div>

  <p class="para rdfs-comment">
   Loads the specified JPEG image.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-harudoc.loadjpeg-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">filename</code></em></span>
     <dd>

      <p class="para">
       A valid JPEG image file.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-harudoc.loadjpeg-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns a new <a href="class.haruimage.php" class="classname">HaruImage</a> instance.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-harudoc.loadjpeg-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="para">Throws a <a href="class.haruexception.php" class="classname">HaruException</a> on error.</p>
 </div>


 <div class="refsect1 seealso" id="refsect1-harudoc.loadjpeg-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="methodname"><a href="harudoc.loadpng.php" class="methodname" rel="rdfs-seeAlso">HaruDoc::loadPNG()</a> - Load PNG image and return HaruImage instance</span></li>
    <li class="member"> <span class="methodname"><a href="harudoc.loadraw.php" class="methodname" rel="rdfs-seeAlso">HaruDoc::loadRAW()</a> - Load a RAW image</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites