Lines Matching refs:orig
11 $orig = imagecreatetruecolor(8, 8);
12 $red = imagecolorallocate($orig, 255, 0, 0);
13 $green = imagecolorallocate($orig, 0, 255, 0);
14 $blue = imagecolorallocate($orig, 0, 0, 255);
16 imagefilledrectangle($orig, 0, 0, 3, 3, $green); // tl
17 imagefilledrectangle($orig, 4, 0, 7, 3, $red); // tr
18 imagefilledrectangle($orig, 0, 4, 3, 7, $green); // bl
19 imagefilledrectangle($orig, 4, 4, 7, 7, $blue); // br
21 $cropped = imagecropauto($orig, IMG_CROP_SIDES);
24 imagefilledrectangle($orig, 0, 0, 3, 3, $red); // tl
25 imagefilledrectangle($orig, 4, 0, 7, 3, $green); // tr
26 imagefilledrectangle($orig, 0, 4, 3, 7, $blue); // bl
27 imagefilledrectangle($orig, 4, 4, 7, 7, $green); // br
29 $cropped = imagecropauto($orig, IMG_CROP_SIDES);