<?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 => 'zh',
  ),
  'this' => 
  array (
    0 => 'image.resources.php',
    1 => '资源类型',
    2 => '资源类型',
  ),
  'up' => 
  array (
    0 => 'image.setup.php',
    1 => '安装/配置',
  ),
  'prev' => 
  array (
    0 => 'image.configuration.php',
    1 => '运行时配置',
  ),
  'next' => 
  array (
    0 => 'image.constants.php',
    1 => '预定义常量',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    '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.resources" class="section">
  <h2 class="title">资源类型 </h2>
  <p class="para">
   本扩展定义了下列资源类型：
   <table class="doctable table">
   <caption><strong>GD 库中定义的资源类型列表</strong></caption>
    
     <thead>
      <tr>
       <th>名称</th>
       <th>说明</th>
       <th>备注</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td><code class="literal">gd</code></td>
       <td>图像资源，由 <span class="function"><a href="function.imagecreatefrompng.php" class="function">imagecreatefrompng()</a></span> 等函数使用</td>
       <td>PHP 8.0.0 之前</td>
      </tr>

      <tr>
       <td><code class="literal">gd font</code></td>
       <td>由 <span class="function"><a href="function.imageloadfont.php" class="function">imageloadfont()</a></span> 函数内部创建的字体资源</td>
       <td>PHP 8.0.0 之前</td>
      </tr>

     </tbody>
    
   </table>

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