Server Technology PPNT User Manual Page 46

  • Download
  • Add to my manuals
  • Print
  • Page
    / 95
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 45
PHP: Image Manipulation(2/3)
Header("Content-Type: image/png");
...
$im = ImageCre ateT rueC olor (400 , 300);
...
ImageFill($im, 0, 0, $ whit e);
...
ImageArc($im, 150, 150, $diameter, $diameter, $last_angle,
...
ImageFillToBorder($im, $mid_x, $mid_y, $black, $colors[$z]);
...
ImageFilledRectangle($im, 300, ($z - 1) * 30 + 10, 320,
($z - 1) * 30 + 20, $colors[$z]);
ImageString($im, 5, 330, ($z - 1) * 30 + 10, $fields[$z],
$black);
ImagePNG($im);
(46/95)
Page view 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 94 95

Comments to this Manuals

No comments