/PHP-8.1/ext/gd/tests/ |
H A D | imagexbm_nullbyte_injection.phpt | 7 $image = imagecreate(1,1);// 1px image 9 imagexbm($image, "./foo\0bar");
|
H A D | imagegd2_nullbyte_injection.phpt | 7 $image = imagecreate(1,1);// 1px image 9 imagegd($image, "./foo\0bar");
|
H A D | imagegd_nullbyte_injection.phpt | 7 $image = imagecreate(1,1);// 1px image 9 imagegd($image, "./foo\0bar");
|
H A D | imageinterlace_variation1.phpt | 11 $image = imagecreatetruecolor(100, 100); 13 var_dump(imageinterlace($image, true)); 14 var_dump(imageinterlace($image));
|
H A D | imagebmp_nullbyte_injection.phpt | 11 $image = imagecreate(1,1);// 1px image 13 imagebmp($image, "./foo\0bar");
|
H A D | imagejpeg_nullbyte_injection.phpt | 14 $image = imagecreate(1,1);// 1px image 16 imagejpeg($image, "./foo\0bar");
|
H A D | imagepng_nullbyte_injection.phpt | 14 $image = imagecreate(1,1);// 1px image 16 imagepng($image, "./foo\0bar");
|
H A D | imagewbmp_nullbyte_injection.phpt | 14 $image = imagecreate(1,1);// 1px image 16 imagewbmp($image, "./foo\0bar");
|
H A D | imagewebp_nullbyte_injection.phpt | 14 $image = imagecreate(1,1);// 1px image 16 imagewebp($image, "./foo\0bar");
|
H A D | bug79676.phpt | 7 function test($image, $desc) 10 … (imagecolorat($image, imagesx($image) - 1 , imagesy($image) - 1) != 0x000000 ? 'pass' : 'fail'),
|
H A D | imagelayereffect_basic.phpt | 14 $image = imagecreatetruecolor(180, 30); 16 $layer = imagelayereffect($image, IMG_EFFECT_REPLACE); 20 test_image_equals_file(__DIR__ . '/imagelayereffect_basic.png', $image);
|
H A D | imagetruecolortopalette_error4.phpt | 15 $image = imagecreatetruecolor(50, 50); 18 fn() => imagetruecolortopalette($image, true, 0), 19 fn() => imagetruecolortopalette($image, true, -1)
|
H A D | bug75111.phpt | 2 Bug #75111 (Memory disclosure or DoS via crafted .bmp image) 7 // craft BMP image 9 $str .= pack("V", -0x120000); // offset of image data
|
H A D | bug49600.phpt | 14 $image = imagecreatetruecolor(50, 50); 15 $color = imagecolorallocate($image, 255, 255, 255); 18 $x = imagettftext($image, 32, 0, 0, 0, $color, $font, $c);
|
H A D | imageloadfont_invalid.phpt | 13 $image = imagecreatetruecolor(50, 20); 15 $black = imagecolorallocate($image, 0, 0, 0); 16 imagestring($image, $font, 0, 0, "Hello", $black);
|
/PHP-8.1/ext/exif/tests/ |
H A D | exif000.phpt | 11 test1.jpg is a 1*1 image that does not contain any Exif/Comment information 12 test2.jpg is the same image but contains Exif/Comment information and a 24 [MimeType] => image/jpeg 33 [UserComment] => Exif test image. 39 [Thumbnail.MimeType] => image/jpeg
|
H A D | exif005.phpt | 10 // test5.jpg is a 1*1 image that contains an Exif section with ifd = 00000009h 11 $image = exif_read_data(__DIR__.'/test5.jpg','',true,false); 12 var_dump($image['IFD0']);
|
H A D | exif001.phpt | 11 test1.jpg is a 1*1 image that does not contain any Exif/Comment information 12 test2.jpg is the same image but contains Exif/Comment information and a 30 string(10) "image/jpeg" 47 string(16) "Exif test image." 59 string(10) "image/jpeg"
|
H A D | exif004.phpt | 18 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']);
|
/PHP-8.1/ext/fileinfo/tests/ |
H A D | finfo_file_002.phpt | 27 string(14) "image/x-ms-bmp" 29 string(9) "image/gif" 31 string(10) "image/jpeg" 39 string(9) "image/png" 43 string(11) "image/x-tga"
|
/PHP-8.1/ext/standard/tests/image/ |
H A D | image_type_to_mime_type_variation2.phpt | 43 string(9) "image/gif" 52 string(10) "image/jpeg" 55 string(10) "image/tiff" 67 string(9) "image/gif"
|
/PHP-8.1/ext/pgsql/tests/ |
H A D | 18pg_escape_bytea_esc.phpt | 16 $image = file_get_contents(__DIR__ . '/php.gif'); 17 $esc_image = pg_escape_bytea($db, $image); 24 if ($unesc_image !== $image) {
|
H A D | 18pg_escape_bytea_hex.phpt | 19 $image = file_get_contents(__DIR__ . '/php.gif'); 20 $esc_image = pg_escape_bytea($db, $image); 27 if ($unesc_image !== $image) {
|
H A D | 18pg_escape_bytea_before.phpt | 13 $image = file_get_contents(__DIR__ . '/php.gif'); 14 $esc_image = pg_escape_bytea($image); 24 if ($unesc_image !== $image) {
|
/PHP-8.1/ext/gd/libgd/ |
H A D | gd_xbm.c | 177 void gdImageXbmCtx(gdImagePtr image, char* file_name, int fg, gdIOCtx * out) in gdImageXbmCtx() argument 200 gdCtxPrintf(out, "#define %s_width %d\n", name, gdImageSX(image)); in gdImageXbmCtx() 201 gdCtxPrintf(out, "#define %s_height %d\n", name, gdImageSY(image)); in gdImageXbmCtx() 209 sx = gdImageSX(image); in gdImageXbmCtx() 210 sy = gdImageSY(image); in gdImageXbmCtx() 213 if (gdImageGetPixel(image, x, y) == fg) { in gdImageXbmCtx()
|