PHP Manual
Function Reference
Image Processing and Generation
GD
Installing/Configuring
Requirements
Installation
Runtime Configuration
Resource Types
Runtime Configuration
Predefined Constants
Installing/Configuring
PHP Manual
Resource Types
This extension defines the following resource types:
List of resource types in GD
Name
Description
Notes
gd
Image resource, used by functions like
imagecreatefrompng
Prior to PHP 8.0.0
gd font
Font resource internally created by
imageloadfont
Prior to PHP 8.1.0