4 // Create a 100*30 image
7 $im = imagecreate(100, 30);
8 // White background and blue text
9 $bg = imagecolorallocate($im, 255, 255, 255);
10 $textcolor = imagecolorallocate($im, 0, 0, 255);
11 // Write the string at the top left
12 imagestring($im, 5, 0, 0, 'Hello world!', $textcolor);
16 $md5 = md5(ob_get_clean());