/PHP-8.2/ext/gd/libgd/ |
H A D | gd_gif_out.c | 103 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 D | gdft.c | 590 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 D | gd2time.c | 15 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 D | gd_filter.c | 37 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 D | gdtest.c | 22 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 D | bug66590.phpt | 15 $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 D | bug66387.phpt | 13 $im = imagecreatetruecolor(20, 20); 14 $c = imagecolorallocate($im, 255, 0, 0); 15 imagefilltoborder($im, 0, -999355, $c, $c);
|
H A D | colormatch.phpt | 8 $im = imagecreatetruecolor(5,5); 12 imagecolormatch($im, $im2); 19 imagedestroy($im);
|
H A D | imagecreatefromstring_gif.phpt | 12 $im = imagecreatefromstring(file_get_contents(__DIR__ . '/imagecreatefromstring.gif')); 13 var_dump(imagesx($im)); 14 var_dump(imagesy($im));
|
H A D | imagecreatefromstring_png.phpt | 12 $im = imagecreatefromstring(file_get_contents(__DIR__ . '/imagecreatefromstring.gif')); 13 var_dump(imagesx($im)); 14 var_dump(imagesy($im));
|
H A D | imagecreatefromstring_webp.phpt | 12 $im = imagecreatefromstring(file_get_contents(__DIR__ . '/imagecreatefromstring.webp')); 13 var_dump(imagesx($im)); 14 var_dump(imagesy($im));
|
H A D | bug73157.phpt | 13 $im = imagecreate(8, 8); 14 imagecolorallocate($im, 0, 0, 0); 17 imagegd2($im, null, 256, IMG_GD2_RAW);
|
H A D | pngcomp.phpt | 17 $im = imagecreatetruecolor(20,20); 18 imagefilledrectangle($im, 5,5, 10,10, 0xffffff); 19 imagepng($im, $cwd . '/test_pngcomp.png', 9);
|
H A D | imagecolorstotal_basic.phpt | 17 $im = imagecreatefromgif($gif); 19 echo 'Total colors in image: ' . imagecolorstotal($im); 22 imagedestroy($im);
|
H A D | bug77479.phpt | 13 $im = imagecreate(40000, 20000); 14 imagecolorallocate($im, 0, 0, 0); 15 imagewbmp($im, __DIR__ . '/77479.wbmp');
|
H A D | bug77198_threshold.phpt | 14 $im = imagecreatetruecolor(8, 8); 15 imagefilledrectangle($im, 0, 0, 7, 7, 0xffffff); 16 imagesetpixel($im, $x, $y, 0x000000); 17 return $im;
|
H A D | bug39082.phpt | 7 $im = imagecreatetruecolor(1,1); 8 imagegif($im);
|
H A D | bug72696.phpt | 7 $im = imagecreatetruecolor(10, 10); 8 imagefilltoborder($im, 0, 0, 1, -2);
|
H A D | bug77198_auto.phpt | 14 $im = imagecreatetruecolor(8, 8); 15 imagefilledrectangle($im, 0, 0, 7, 7, 0xffffff); 16 imagesetpixel($im, $x, $y, 0x000000); 17 return $im;
|
H A D | bug72337.phpt | 7 $im = imagecreatetruecolor(1, 1); 8 imagescale($im, 0, 0, IMG_BICUBIC_FIXED);
|
H A D | bug73968.phpt | 7 $im = imagecreatefromxbm(__DIR__ . DIRECTORY_SEPARATOR . 'bug73968.xbm'); 8 var_dump($im);
|
H A D | bug73155.phpt | 13 $im = imagecreate(64, 64); 14 imagecolorallocate($im, 0, 0, 0); 17 imagegd2($im, null, 64, IMG_GD2_RAW);
|
H A D | imageinterpolation_basic.phpt | 30 $im = imagecreate(8, 8); 32 imagesetinterpolation($im, $method); 33 var_dump(imagegetinterpolation($im) === $method);
|
/PHP-8.2/ext/standard/tests/image/ |
H A D | bug70096.phpt | 12 $im = imagecreatetruecolor(10, 10); 13 imagejpeg($im, $filename); 14 imagedestroy($im);
|
/PHP-8.2/Zend/tests/readonly_props/ |
H A D | variation.phpt | 27 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
|