PHP 忒聊
綴豖
ヶ輛
imagetypes
(PHP 3 CVS only, PHP 4 = 4.0.2)
Description
This function returns a bit-field corresponding to the image formats supported by the version of GD linked into PHP. The following bits are returned, IMG_GIF | IMG_JPG | IMG_PNG | IMG_WBMP. To check for PNG support, for example, do this:
瞰赽 1. imagetypes
?php if (imagetypes() IMG_PNG) {echo "PNG Support is enabled";}?
綴豖
れ萸
ヶ輛
imagettftext
奻珨撰
imagewbmp