<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Resource Types</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="image.configuration.html">Runtime Configuration</a></div> <div class="next" style="text-align: right; float: right;"><a href="image.constants.html">Predefined Constants</a></div> <div class="up"><a href="image.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="image.resources" class="section"> <h2 class="title">Resource Types</h2> <p class="para"> This extension defines the following resource types: <table class="doctable table"> <caption><strong>List of resource types in GD</strong></caption> <thead> <tr> <th>Name</th> <th>Description</th> <th>Notes</th> </tr> </thead> <tbody class="tbody"> <tr> <td><em>gd</em></td> <td>Image resource, used by functions like <span class="function"><a href="function.imagecreatefrompng.html" class="function">imagecreatefrompng()</a></span></td> <td class="empty"> </td> </tr> <tr> <td><em>gd font</em></td> <td>Font resource returned by <span class="function"><a href="function.imageloadfont.html" class="function">imageloadfont()</a></span></td> <td class="empty"> </td> </tr> <tr> <td><em>gd PS font</em></td> <td>PostScript Type 1 font resource, returned by <span class="function"><a href="function.imagepsloadfont.html" class="function">imagepsloadfont()</a></span></td> <td> Removed as of PHP 7.0.0. </td> </tr> <tr> <td><em>gd PS encoding</em></td> <td>PostScript Type 1 encoding resource, returned by <span class="function"><a href="function.imagepsencodefont.html" class="function">imagepsencodefont()</a></span></td> <td> Removed as of PHP 7.0.0. </td> </tr> </tbody> </table> </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="image.configuration.html">Runtime Configuration</a></div> <div class="next" style="text-align: right; float: right;"><a href="image.constants.html">Predefined Constants</a></div> <div class="up"><a href="image.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>