<?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 => 'ja',
  ),
  'this' => 
  array (
    0 => 'image.requirements.php',
    1 => '要件',
    2 => '要件',
  ),
  'up' => 
  array (
    0 => 'image.setup.php',
    1 => 'インストール/設定',
  ),
  'prev' => 
  array (
    0 => 'image.setup.php',
    1 => 'インストール/設定',
  ),
  'next' => 
  array (
    0 => 'image.installation.php',
    1 => 'インストール手順',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    '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">要件</h2>
  <p class="para">
   <abbr title="Graphics Draw">GD</abbr>ライブラリ( <a href="http://www.libgd.org/" class="link external">&raquo;&nbsp;http://www.libgd.org/</a>で取得可能)があれば、画像の作成と操
   作を行なうこともできます。
  </p>
  <p class="para">
   操作できるイメージの形式は、インストールされている
   <abbr title="Graphics Draw">GD</abbr>とこれらのイメージフォーマットにアクセスする
   ために<abbr title="Graphics Draw">GD</abbr>が必要とするその他のライブラリに依存します。
   <blockquote class="note"><p><strong class="note">注意</strong>: 
    <span class="simpara">
     libgd-2.1.0 以降が必要です。
     もしなければ、PHP に附属する
     <abbr title="Graphics Draw">GD</abbr> ライブラリを使います。
    </span>
   </p></blockquote>
   <blockquote class="note"><p><strong class="note">注意</strong>: 
    <span class="simpara">
     <abbr title="Graphics Draw">GD</abbr> ライブラリは、zlib &gt;= 1.2.0.4 が必要です。
    </span>
   </p></blockquote>
  </p>
  <p class="para">
   より多くのイメージ形式を処理するために
   <abbr title="Graphics Draw">GD</abbr> を拡張したいと思うかもしれません。
   <table class="doctable table">
   <caption><strong>サポートされるイメージ形式</strong></caption>
    
     <thead>
      <tr>
       <th>イメージ形式</th>
       <th>ダウンロードするライブラリ</th>
       <th>注記</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>
        (PHP のビルド前に) jpeg ライブラリをビルドする際、configure で
        <strong class="option configure">--enable-shared</strong>
        オプションを指定する必要があります。
        そうしないと、PHP をビルドする際の configure で
        <code class="literal">libjpeg.(a|so) not found</code> というエラーが発生します。
       </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>
        Xウインドウ環境をインストールしている場合、
        このライブラリを既に利用可能と思われます。
       </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">
   別の種類のフォントを処理できるように <abbr title="Graphics Draw">GD</abbr> を拡張したいと思うかもしれません。
   そうした用途のために、<a href="http://www.freetype.org/" class="link external">&raquo;&nbsp;FreeType 2</a> ライブラリがサポートされています。
  </p>
 </div><?php manual_footer($setup); ?>