Home
last modified time | relevance | path

Searched refs:image (Results 76 – 100 of 266) sorted by relevance

1234567891011

/PHP-7.4/ext/standard/tests/image/
H A Dimage_type_to_mime_type_variation4.phpt12 …* Description: Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbna…
13 * Source code: ext/standard/image.c
27 string(24) "image/vnd.microsoft.icon"
H A Dgetimagesizefromstring1.phpt31 string(9) "image/gif"
47 string(9) "image/gif"
/PHP-7.4/ext/gd/tests/
H A Dbug49600.phpt13 $image = imagecreatetruecolor(50, 50);
14 $color = imagecolorallocate($image, 255, 255, 255);
17 $x = imagettftext($image, 32, 0, 0, 0, $color, $font, $c);
H A Dbug75111.phpt2 Bug #75111 (Memory disclosure or DoS via crafted .bmp image)
9 // craft BMP image
11 $str .= pack("V", -0x120000); // offset of image data
H A Dimageloadfont_invalid.phpt15 $image = imagecreatetruecolor(50, 20);
17 $black = imagecolorallocate($image, 0, 0, 0);
18 imagestring($image, $font, 0, 0, "Hello", $black);
H A Dimageinterlace_basic.phpt13 $image = imagecreatetruecolor(100, 100);
14 var_dump(imageinterlace($image));
H A Dimageistruecolor_basic.phpt12 $image = imagecreatetruecolor(180, 30);
14 var_dump(imageistruecolor($image));
H A Dimagecolourstotal_basic.phpt17 * Description: Find out the number of colors in an image's palette
24 // Palette image
34 // Truecolor image
H A Dimagefilter_error13.phpt12 $image = imagecreatetruecolor(180, 30);
14 var_dump(imagefilter($image, IMG_FILTER_COLORIZE, 800, 255, 255)); // Wrong value is truncated to 2…
H A Dimagecreatetruecolor_basic.phpt12 $image = imagecreatetruecolor(180, 30);
15 test_image_equals_file(__DIR__ . '/imagecreatetruecolor_basic.png', $image);
H A Dimagefilter_error1.phpt12 $image = imagecreatetruecolor(180, 30);
14 var_dump(imagefilter($image));
H A Dimageantialias_error1.phpt12 $image = tmpfile();
14 var_dump(imageantialias($image, true));
H A Dimagefilter_error10.phpt12 $image = tmpfile();
14 var_dump(imagefilter($image, IMG_FILTER_EMBOSS));
H A Dimagefilter_error12.phpt12 $image = tmpfile();
14 var_dump(imagefilter($image, IMG_FILTER_COLORIZE, 255, 255, 255));
H A Dimagefilter_error15.phpt12 $image = tmpfile();
14 var_dump(imagefilter($image, IMG_FILTER_CONTRAST, 2));
H A Dimagefilter_error17.phpt12 $image = tmpfile();
14 var_dump(imagefilter($image, IMG_FILTER_GRAYSCALE));
H A Dimagefilter_error18.phpt12 $image = tmpfile();
14 var_dump(imagefilter($image, IMG_FILTER_NEGATE));
H A Dimagefilter_error20.phpt12 $image = tmpfile();
14 var_dump(imagefilter($image, IMG_FILTER_BRIGHTNESS, 1));
H A Dimagefilter_error4.phpt12 $image = tmpfile();
14 var_dump(imagefilter($image, IMG_FILTER_PIXELATE, 3));
H A Dimagefilter_error6.phpt12 $image = tmpfile();
14 var_dump(imagefilter($image, IMG_FILTER_SMOOTH, 3.0));
H A Dimagefilter_error7.phpt12 $image = tmpfile();
14 var_dump(imagefilter($image, IMG_FILTER_MEAN_REMOVAL));
/PHP-7.4/ext/exif/tests/
H A Dexif004.phpt18 test4.jpg is a 1*1 image that contains Exif tags written by WindowsXP
20 $image = exif_read_data(__DIR__.'/test4.jpg','',true,false);
21 var_dump($image['WINXP']);
H A Dbug79046.phpt5 var_dump(exif_read_data('data://image/tiff;base64,TU0AKgAAAA7//wAAANUAAQERAAsAAAABAAD4fwAAAA4A'));
16 string(10) "image/tiff"
/PHP-7.4/ext/gd/libgd/
H A Dgd_xbm.c179 void gdImageXbmCtx(gdImagePtr image, char* file_name, int fg, gdIOCtx * out) in gdImageXbmCtx() argument
202 gdCtxPrintf(out, "#define %s_width %d\n", name, gdImageSX(image)); in gdImageXbmCtx()
203 gdCtxPrintf(out, "#define %s_height %d\n", name, gdImageSY(image)); in gdImageXbmCtx()
211 sx = gdImageSX(image); in gdImageXbmCtx()
212 sy = gdImageSY(image); in gdImageXbmCtx()
215 if (gdImageGetPixel(image, x, y) == fg) { in gdImageXbmCtx()
/PHP-7.4/ext/fileinfo/tests/
H A Dbug67516.phpt16 string(9) "image/gif"
17 string(25) "image/gif; charset=binary"

Completed in 25 milliseconds

1234567891011