<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.imagick.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'imagick.writeimagesfile.php',
    1 => 'Imagick::writeImagesFile',
    2 => 'Writes frames to a filehandle',
  ),
  'up' => 
  array (
    0 => 'class.imagick.php',
    1 => 'Imagick',
  ),
  'prev' => 
  array (
    0 => 'imagick.writeimages.php',
    1 => 'Imagick::writeImages',
  ),
  'next' => 
  array (
    0 => 'class.imagickdraw.php',
    1 => 'ImagickDraw',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/imagick/imagick/writeimagesfile.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="imagick.writeimagesfile" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::writeImagesFile</h1>
  <p class="verinfo">(PECL imagick 2 &gt;= 2.3.0, PECL imagick 3)</p><p class="refpurpose"><span class="refname">Imagick::writeImagesFile</span> &mdash; <span class="dc-title">Writes frames to a filehandle</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagick.writeimagesfile-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Imagick::writeImagesFile</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$filehandle</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$format</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>


  <p class="para rdfs-comment">
   Writes all image frames into an open filehandle. This method can be used to write
   animated gifs or other multiframe images into open filehandle.
   This method is available if Imagick has been compiled against ImageMagick version 6.3.6 or newer.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.writeimagesfile-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">filehandle</code></dt>
     <dd>
      <p class="para">
       Filehandle where to write the images.
      </p>
     </dd>
    
    
     <dt><code class="parameter">format</code></dt>
     <dd>
      <p class="para">
       The image format.
       The list of valid format specifiers depends on the compiled feature set of
       ImageMagick, and can be queried at runtime via <span class="methodname"><a href="imagick.queryformats.php" class="methodname">Imagick::queryFormats()</a></span>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-imagick.writeimagesfile-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> on success.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-imagick.writeimagesfile-seealso">
  <h3 class="title">See Also</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="imagick.queryformats.php" class="methodname" rel="rdfs-seeAlso">Imagick::queryFormats()</a> - Returns formats supported by Imagick</span></li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>