Home
last modified time | relevance | path

Searched refs:image (Results 51 – 75 of 274) sorted by relevance

1234567891011

/PHP-5.4/ext/gd/tests/
H A Dimageconvolution_error2.phpt12 $image = imagecreatetruecolor(180, 30);
14 // Writes the text and apply a gaussian blur on the image
15 imagestring($image, 5, 10, 8, 'Gaussian Blur Text', 0x00ff00);
22 var_dump(imageconvolution($image, $gaussian, 16, 0));
H A Dimageconvolution_error3.phpt12 $image = imagecreatetruecolor(180, 30);
14 // Writes the text and apply a gaussian blur on the image
15 imagestring($image, 5, 10, 8, 'Gaussian Blur Text', 0x00ff00);
23 var_dump(imageconvolution($image, $gaussian, 16, 0));
H A Dimagefilledarc_error1.phpt13 $image = imagecreatetruecolor(100, 100);
15 $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF);
18 imagefilledarc($image, 50, 50, 30, 30, 0, 90, $white);
21 imagepng($image);
H A Dimagecolordeallocate_basic.phpt12 $image = imagecreatetruecolor(180, 30);
14 $white = imagecolorallocate($image, 255, 255, 255);
15 $result = imagecolordeallocate($image, $white);
H A Dimageinterlace_variation1.phpt13 $image = imagecreatetruecolor(100, 100);
15 var_dump(imageinterlace($image, 1));
16 var_dump(imageinterlace($image));
H A Dimagecolordeallocate_error2.phpt13 $image = imagecreatetruecolor(180, 30);
14 $white = imagecolorallocate($image, 255, 255, 255);
15 $result = imagecolordeallocate('image', $white);
H A Dimagechar_error6.phpt12 $image = imagecreatetruecolor(180, 30);
13 $result = imagechar($image, 1, 5, 5, $image, 1);
H A Dimagerectangle_error8.phpt12 // Create a image
13 $image = imagecreatetruecolor( 100, 100 );
16 imagerectangle( $image, 0, 0, 50, 50 );
H A Dimagestring_error6.phpt12 $image = imagecreatetruecolor(180, 30);
13 $result = imagestring($image, 1, 5, 5, $image, 1);
H A Dimagestringup_error6.phpt12 $image = imagecreatetruecolor(180, 30);
13 $result = imagestringup($image, 1, 5, 5, $image, 1);
H A Dimagecharup_error6.phpt12 $image = imagecreatetruecolor(180, 30);
13 $result = imagecharup($image, 1, 5, 5, $image, 1);
H A Dimageellipse_error4.phpt13 // Create a image
14 $image = imagecreatetruecolor(400, 300);
17 imageellipse($image, 200, 150, 'wrong param', 200, 16777215);
H A Dimageellipse_error5.phpt13 // Create a image
14 $image = imagecreatetruecolor(400, 300);
17 imageellipse($image, 200, 150, 300, 'wrong param', 16777215);
H A Dimagelayereffect_basic.phpt13 $image = imagecreatetruecolor(180, 30);
15 $layer = imagelayereffect($image, IMG_EFFECT_REPLACE);
19 imagepng($image, null, 9);
H A Dimagerectangle_error1.phpt12 // Create a image
13 $image = imagecreatetruecolor( 100, 100 );
16 imagerectangle( 'wrong param', 0, 0, 50, 50, imagecolorallocate($image, 255, 255, 255) );
H A Dimagerectangle_error7.phpt12 // Create a image
13 $image = imagecreatetruecolor( 100, 100 );
16 imagerectangle( $image, 0, 0, 50, 50, 'wrong param' );
H A Dimageellipse_error2.phpt13 // Create a image
14 $image = imagecreatetruecolor(400, 300);
17 imageellipse($image, 'wrong param', 150, 300, 200, 16777215);
H A Dimageellipse_error3.phpt13 // Create a image
14 $image = imagecreatetruecolor(400, 300);
17 imageellipse($image, 200, 'wrong param', 300, 200, 16777215);
H A Dimageellipse_error6.phpt13 // Create a image
14 $image = imagecreatetruecolor(400, 300);
17 imageellipse($image, 200, 150, 300, 200, 'wrong param');
H A Dimageellipse_error8.phpt13 // Create a image
14 $image = imagecreatetruecolor( 400, 300 );
17 imageellipse( $image, 200, 150, 300, 200 );
/PHP-5.4/ext/gd/libgd/
H A Dgd_wbmp.c94 void gdImageWBMPCtx (gdImagePtr image, int fg, gdIOCtx * out) in gdImageWBMPCtx() argument
100 if ((wbmp = createwbmp (gdImageSX (image), gdImageSY (image), WBMP_WHITE)) == NULL) { in gdImageWBMPCtx()
106 for (y = 0; y < gdImageSY(image); y++) { in gdImageWBMPCtx()
107 for (x = 0; x < gdImageSX(image); x++) { in gdImageWBMPCtx()
108 if (gdImageGetPixel (image, x, y) == fg) { in gdImageWBMPCtx()
/PHP-5.4/ext/exif/tests/
H A Dexif000.phpt11 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 Dexif001.phpt11 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 Dexif005.phpt11 * test5.jpg is a 1*1 image that contains an Exif section with ifd = 00000009h
13 $image = exif_read_data(dirname(__FILE__).'/test5.jpg','',true,false);
14 var_dump($image['IFD0']);
/PHP-5.4/ext/fileinfo/tests/
H A Dfinfo_file_002.phpt27 string(14) "image/x-ms-bmp"
29 string(9) "image/gif"
31 string(10) "image/jpeg"
37 string(9) "image/png"

Completed in 136 milliseconds

1234567891011