Lines Matching refs:im
12 $im = imagecreatetruecolor(99, 99);
13 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
14 $im_crop = imagecropauto($im, IMG_CROP_DEFAULT);
19 $im = imagecreate(99, 99);
20 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
21 $im_crop = imagecropauto($im, IMG_CROP_DEFAULT);
26 $im = imagecreatetruecolor(99, 99);
27 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
28 $im_crop = imagecropauto($im, IMG_CROP_SIDES);
33 $im = imagecreate(99, 99);
34 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
35 $im_crop = imagecropauto($im, IMG_CROP_SIDES);
40 $im = imagecreatetruecolor(50, 50);
41 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
42 $im_crop = imagecropauto($im, IMG_CROP_BLACK);
47 $im = imagecreate(50, 50);
48 $bgd = imagecolorallocate($im, 0, 0, 0);
49 $b = imagecolorallocate($im, 0, 0, 255);
50 imagefilledrectangle($im, 20, 20, 30, 30, 0xff);
51 $im_crop = imagecropauto($im, IMG_CROP_BLACK);
56 $im = imagecreatefrompng(__DIR__ . "/logo_noise.png");
57 $im_crop = imagecropauto($im, IMG_CROP_THRESHOLD, 0.1, 0x0);