This extension defines the following resource types:
| Name | Description | Notes |
|---|---|---|
| gd | Image resource, used by functions like imagecreatefrompng() | |
| gd font | Font resource returned by imageloadfont() | |
| gd PS font | PostScript Type 1 font resource, returned by imagepsloadfont() | Removed as of PHP 7.0.0. |
| gd PS encoding | PostScript Type 1 encoding resource, returned by imagepsencodefont() | Removed as of PHP 7.0.0. |