<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/image.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'image.requirements.php',
    1 => 'Requisiti',
    2 => 'Requisiti',
  ),
  'up' => 
  array (
    0 => 'image.setup.php',
    1 => 'Installazione/Configurazione',
  ),
  'prev' => 
  array (
    0 => 'image.setup.php',
    1 => 'Installazione/Configurazione',
  ),
  'next' => 
  array (
    0 => 'image.installation.php',
    1 => 'Installazione',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/image/setup.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="image.requirements" class="section">
  <h2 class="title">Requisiti</h2>
  <p class="para">
   If you have the <abbr title="Graphics Draw">GD</abbr> library (available at <a href="http://www.libgd.org/" class="link external">&raquo;&nbsp;http://www.libgd.org/</a>) you will also be able to create
   and manipulate images.
  </p>
  <p class="para">
   The format of images you are able to manipulate depend on the
   version of <abbr title="Graphics Draw">GD</abbr> you install, and any other libraries
   <abbr title="Graphics Draw">GD</abbr> might need to access those image formats.
   <blockquote class="note"><p><strong class="note">Nota</strong>: 
    <span class="simpara">
     libgd-2.1.0 or higher is required. Alternatively, use
     the bundled <abbr title="Graphics Draw">GD</abbr> library that ships with PHP.
    </span>
   </p></blockquote>
   <blockquote class="note"><p><strong class="note">Nota</strong>: 
    <span class="simpara">
     The <abbr title="Graphics Draw">GD</abbr> library requires zlib &gt;= 1.2.0.4.
    </span>
   </p></blockquote>
  </p>
  <p class="para">
   You may wish to enhance <abbr title="Graphics Draw">GD</abbr> to handle more image formats.
   <table class="doctable table">
   <caption><strong>Supported image formats</strong></caption>
    
     <thead>
      <tr>
       <th>Image format</th>
       <th>Library to download</th>
       <th>Notes</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td><code class="literal">gif</code></td>
       <td class="empty">&nbsp;</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td><code class="literal">avif</code></td>
       <td class="empty">&nbsp;</td>
       <td class="empty">&nbsp;</td>
      </tr>

      <tr>
       <td><code class="literal">jpeg</code></td>
       <td><a href="http://www.ijg.org/" class="link external">&raquo;&nbsp;http://www.ijg.org/</a></td>
       <td>
        When building the jpeg library (prior to building PHP) you
        must use the <strong class="option configure">--enable-shared</strong>
        option in the configure step.  If you do not, you will receive
        an error saying <code class="literal">libjpeg.(a|so) not found</code>
        when you get to the configure step of building PHP.
       </td>
      </tr>

      <tr>
       <td><code class="literal">png</code></td>
       <td><a href="http://www.libpng.org/pub/png/libpng.html" class="link external">&raquo;&nbsp;http://www.libpng.org/pub/png/libpng.html</a></td>
       <td>
       </td>
      </tr>

      <tr>
       <td><code class="literal">xpm</code></td>
       <td><a href="http://www.ibiblio.org/pub/Linux/libs/X/!INDEX.html" class="link external">&raquo;&nbsp;http://www.ibiblio.org/pub/Linux/libs/X/!INDEX.html</a></td>
       <td>
        It&#039;s likely you have this library already available, if your system
        has an installed X-Environment.
       </td>
      </tr>

      <tr>
       <td><code class="literal">webp</code></td>
       <td class="empty">&nbsp;</td>
       <td class="empty">&nbsp;</td>
      </tr>

     </tbody>
    
   </table>

  </p>

  <p class="para">
   You may wish to enhance <abbr title="Graphics Draw">GD</abbr> to deal with different fonts.
   The <a href="http://www.freetype.org/" class="link external">&raquo;&nbsp;FreeType 2</a> library is supported.
  </p>
 </div><?php manual_footer($setup); ?>