Lines Matching refs:im
13 $im = imagecreatetruecolor(99, 99);
14 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
15 $im_crop = imagecropauto($im, IMG_CROP_DEFAULT);
20 $im = imagecreate(99, 99);
21 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
22 $im_crop = imagecropauto($im, IMG_CROP_DEFAULT);
27 $im = imagecreatetruecolor(99, 99);
28 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
29 $im_crop = imagecropauto($im, IMG_CROP_SIDES);
34 $im = imagecreate(99, 99);
35 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
36 $im_crop = imagecropauto($im, IMG_CROP_SIDES);
41 $im = imagecreatetruecolor(50, 50);
42 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
43 $im_crop = imagecropauto($im, IMG_CROP_BLACK);
48 $im = imagecreate(50, 50);
49 $bgd = imagecolorallocate($im, 0, 0, 0);
50 $b = imagecolorallocate($im, 0, 0, 255);
51 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
52 $im_crop = imagecropauto($im, IMG_CROP_BLACK);
57 $im = imagecreatefrompng(__DIR__ . "/logo_noise.png");
58 $im_crop = imagecropauto($im, IMG_CROP_THRESHOLD, 0.1, 0x0);