Lines Matching refs:image
10 /* Prototype : bool imagedashedline ( resource $image , int $x1 , int $y1 , int $x2 , int $y2…
13 * Source code: ext/standard/image.c
22 // create a blank image
23 $image = imagecreatetruecolor(250, 250);
26 $bg = imagecolorallocate($image, 0, 0, 0);
29 $col_line = imagecolorallocate($image, 255, 0, 0);
32 imagedashedline($image, 100, 20, 100, 230, $col_line );
33 imagedashedline($image, 150, 20, 150, 230, $col_line );
36 imagepng($image, $dest);
39 $col1 = imagecolorat($image, 100, 230);
41 $col2 = imagecolorat($image, 5, 5);
43 $color1 = imagecolorsforindex($image, $col1);
44 $color2 = imagecolorsforindex($image, $col2);
47 imagedestroy($image);