the gd image library provide functions to manipulate image files. on some installations, this does not come as default and needs to be installed. on fedora, the command is$ yum install php-gd on ubuntu, the command is$ sudo apt-get install php5…
more »