Home
last modified time | relevance | path

Searched refs:im (Results 101 – 125 of 159) sorted by relevance

1234567

/PHP-8.2/ext/gd/libgd/
H A Dgd_gif_out.c103 void * gdImageGifPtr (gdImagePtr im, int *size) in gdImageGifPtr() argument
107 if (!_gdImageGifCtx(im, out)) { in gdImageGifPtr()
116 void gdImageGif (gdImagePtr im, FILE * outFile) in gdImageGif() argument
119 gdImageGifCtx (im, out); in gdImageGif()
123 void gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out) in gdImageGifCtx() argument
125 _gdImageGifCtx(im, out); in gdImageGifCtx()
131 gdImagePtr pim = 0, tim = im; in _gdImageGifCtx()
133 interlace = im->interlace; in _gdImageGifCtx()
134 if (im->trueColor) { in _gdImageGifCtx()
252 GIFNextPixel(gdImagePtr im, GifCtx *ctx) in GIFNextPixel() argument
[all …]
H A Dgdft.c590 gdImagePtr im; local
596 im = a->im = b->im;
607 if (im->trueColor) {
621 (pixel * im->red[fg] + npixel * im->red[bg]) / NUMCOLORS,
622 (pixel * im->green[fg] + npixel * im->green[bg]) / NUMCOLORS,
623 (pixel * im->blue[fg] + npixel * im->blue[bg]) / NUMCOLORS);
647 tc_key.im = im;
649 if (im->trueColor) {
656 if ((y > im->cy2) || (y < im->cy1)) {
686 if ((x > im->cx2) || (x < im->cx1)) {
[all …]
H A Dgd2time.c15 gdImagePtr im; in main() local
46 im = gdImageCreateFromGd2Part (in, x, y, w, h); in main()
49 if (!im) in main()
54 gdImageDestroy (im); in main()
H A Dgd_filter.c37 return gdImageScatterEx(im, &s); in gdImageScatter()
49 return gdImageScatterEx(im, &s); in gdImageScatterColor()
70 for (y = 0; y < im->sy; y++) { in gdImageScatterEx()
71 for (x = 0; x < im->sx; x++) { in gdImageScatterEx()
79 pxl = gdImageGetPixel(im, x, y); in gdImageScatterEx()
92 for (y = 0; y < im->sy; y++) { in gdImageScatterEx()
93 for (x = 0; x < im->sx; x++) { in gdImageScatterEx()
101 pxl = gdImageGetPixel(im, x, y); in gdImageScatterEx()
105 gdImageSetPixel(im, x, y, new_pxl); in gdImageScatterEx()
534 int gdImageEmboss(gdImagePtr im) in gdImageEmboss() argument
[all …]
H A Dgdtest.c22 gdImagePtr im, ref, im2, im3; in main() local
44 im = gdImageCreateFromPng (in); in main()
61 gdImagePng (im, out); in main()
78 iptr = gdImagePngPtr (im, &sz); in main()
93 gdImageGd2 (im, out, 128, 2); in main()
110 iptr = gdImageGd2Ptr (im, 128, 2, &sz); in main()
128 gdImageGd (im, out); in main()
145 iptr = gdImageGdPtr (im, &sz); in main()
187 gdImagePngToSink (im, &imgsnk); in main()
280 gdImageJpeg (im, out, -1); in main()
[all …]
/PHP-8.2/ext/gd/tests/
H A Dbug66590.phpt15 $im = imagecreatetruecolor(75, 75);
16 $red = imagecolorallocate($im, 255, 0, 0);
17 imagefilledrectangle($im, 0, 0, 74, 74, $red);
18 imagewebp($im, $filename);
H A Dbug66387.phpt13 $im = imagecreatetruecolor(20, 20);
14 $c = imagecolorallocate($im, 255, 0, 0);
15 imagefilltoborder($im, 0, -999355, $c, $c);
H A Dcolormatch.phpt8 $im = imagecreatetruecolor(5,5);
12 imagecolormatch($im, $im2);
19 imagedestroy($im);
H A Dimagecreatefromstring_gif.phpt12 $im = imagecreatefromstring(file_get_contents(__DIR__ . '/imagecreatefromstring.gif'));
13 var_dump(imagesx($im));
14 var_dump(imagesy($im));
H A Dimagecreatefromstring_png.phpt12 $im = imagecreatefromstring(file_get_contents(__DIR__ . '/imagecreatefromstring.gif'));
13 var_dump(imagesx($im));
14 var_dump(imagesy($im));
H A Dimagecreatefromstring_webp.phpt12 $im = imagecreatefromstring(file_get_contents(__DIR__ . '/imagecreatefromstring.webp'));
13 var_dump(imagesx($im));
14 var_dump(imagesy($im));
H A Dbug73157.phpt13 $im = imagecreate(8, 8);
14 imagecolorallocate($im, 0, 0, 0);
17 imagegd2($im, null, 256, IMG_GD2_RAW);
H A Dpngcomp.phpt17 $im = imagecreatetruecolor(20,20);
18 imagefilledrectangle($im, 5,5, 10,10, 0xffffff);
19 imagepng($im, $cwd . '/test_pngcomp.png', 9);
H A Dimagecolorstotal_basic.phpt17 $im = imagecreatefromgif($gif);
19 echo 'Total colors in image: ' . imagecolorstotal($im);
22 imagedestroy($im);
H A Dbug77479.phpt13 $im = imagecreate(40000, 20000);
14 imagecolorallocate($im, 0, 0, 0);
15 imagewbmp($im, __DIR__ . '/77479.wbmp');
H A Dbug77198_threshold.phpt14 $im = imagecreatetruecolor(8, 8);
15 imagefilledrectangle($im, 0, 0, 7, 7, 0xffffff);
16 imagesetpixel($im, $x, $y, 0x000000);
17 return $im;
H A Dbug39082.phpt7 $im = imagecreatetruecolor(1,1);
8 imagegif($im);
H A Dbug72696.phpt7 $im = imagecreatetruecolor(10, 10);
8 imagefilltoborder($im, 0, 0, 1, -2);
H A Dbug77198_auto.phpt14 $im = imagecreatetruecolor(8, 8);
15 imagefilledrectangle($im, 0, 0, 7, 7, 0xffffff);
16 imagesetpixel($im, $x, $y, 0x000000);
17 return $im;
H A Dbug72337.phpt7 $im = imagecreatetruecolor(1, 1);
8 imagescale($im, 0, 0, IMG_BICUBIC_FIXED);
H A Dbug73968.phpt7 $im = imagecreatefromxbm(__DIR__ . DIRECTORY_SEPARATOR . 'bug73968.xbm');
8 var_dump($im);
H A Dbug73155.phpt13 $im = imagecreate(64, 64);
14 imagecolorallocate($im, 0, 0, 0);
17 imagegd2($im, null, 64, IMG_GD2_RAW);
H A Dimageinterpolation_basic.phpt30 $im = imagecreate(8, 8);
32 imagesetinterpolation($im, $method);
33 var_dump(imagegetinterpolation($im) === $method);
/PHP-8.2/ext/standard/tests/image/
H A Dbug70096.phpt12 $im = imagecreatetruecolor(10, 10);
13 imagejpeg($im, $filename);
14 imagedestroy($im);
/PHP-8.2/Zend/tests/readonly_props/
H A Dvariation.phpt27 public function im() {
56 function im($test) {
72 foreach (['r', 'w', 'rw', 'im', 'is', 'us'] as $op) {
98 Init: 1, scope: 1, op: im: Cannot modify readonly property Test::$prop
104 Init: 1, scope: 0, op: im: Cannot modify readonly property Test::$prop
110 Init: 0, scope: 1, op: im: Cannot indirectly modify readonly property Test::$prop
116 Init: 0, scope: 0, op: im: Cannot indirectly modify readonly property Test::$prop

Completed in 31 milliseconds

1234567