Converting Images to Grayscale using PHP and the GD Library http://php.about.com/od/gdlibrary/ss/grayscale_gd.htm