Turn on GD Library functionality. On a default installation of PHP, the GD Library is turned off. The standard Windows instructions are:
In the root directory of your PHP folder, open the php.ini file.
Uncomment the line extension=php_gd2.dll (about half-way through the file, in the middle of a long list of extensions) by deleting the ;
Restart the services.