array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.imagecreatefromtga.php', 1 => 'imagecreatefromtga', ), 'up' => array ( 0 => 'ref.image.php', 1 => 'GD 和图像处理 函数', ), 'prev' => array ( 0 => 'function.imagecreatefromstring.php', 1 => 'imagecreatefromstring', ), 'next' => array ( 0 => 'function.imagecreatefromwbmp.php', 1 => 'imagecreatefromwbmp', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/image/functions/imagecreatefromtga.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.4.0, PHP 8)
imagecreatefromtga — 由文件或 URL 创建一个新图象。
imagecreatefromtga() returns an image object representing the image obtained from the given filename.
filename
Path to the Truevision TGA image.
成功后返回图象对象,失败后返回 false
。