Home >Backend Development >PHP Tutorial >Basic knowledge of php gd library

Basic knowledge of php gd library

WBOY
WBOYOriginal
2016-07-25 08:55:07894browse
  1. echo phpinfo();
  2. ?>
Copy the code

Save it, then open phpinfo.php through the browser, search for 'gd', and see if there is any of the following:

php gd库

If it is stated that the system already supports the GD library, if not, you need to recompile PHP to support the GD library. 3. Image formats supported by GD The GD library does not support all image formats by default. From the information in the picture above, you can see which image formats the system's GD library supports. JPG Support indicates that the JPG format is supported, and those not listed are not supported. 4. Classification of GD functions I think GD functions can be divided into 6 categories: 1. Obtain information 2. Create images 3. Draw a picture 4. Copy 5. Output 6. Destroy

>>>> Articles you may be interested in: Example of php GD library generating verification code Solution to Chinese garbled characters in php GD library Example of php verification code (GD library generates verification code) Enable PHP GD library support under Linux php opens GD library (windows environment) How to open PHP GD library under windows The whole process of installing php gd library with yum under Linux Sharing the steps to install GD library in php5 Installation steps for adding GD library to php under Linux Detailed explanation of the steps to add GD library support to PHP PHP GD library function collection (collection)



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn