Home
last modified time | relevance | path

Searched refs:im1 (Results 1 – 6 of 6) sorted by relevance

/PHP-5.5/ext/gd/libgd/
H A Dgd_color.c15 int gdImageColorMatch (gdImagePtr im1, gdImagePtr im2) in gdImageColorMatch() argument
23 if( !im1->trueColor ) { in gdImageColorMatch()
29 if( (im1->sx != im2->sx) || (im1->sy != im2->sy) ) { in gdImageColorMatch()
39 for (x=0; x<im1->sx; x++) { in gdImageColorMatch()
40 for( y=0; y<im1->sy; y++ ) { in gdImageColorMatch()
42 rgb = im1->tpixels[y][x]; in gdImageColorMatch()
H A Dgdtest.c14 void CompareImages (char *msg, gdImagePtr im1, gdImagePtr im2);
360 CompareImages (char *msg, gdImagePtr im1, gdImagePtr im2) in CompareImages() argument
364 cmpRes = gdImageCompare (im1, im2); in CompareImages()
388 im1->colorsTotal, im2->colorsTotal); in CompareImages()
H A Dgd.c2798 if (im1->interlace != im2->interlace) { in gdImageCompare()
2802 if (im1->transparent != im2->transparent) { in gdImageCompare()
2806 if (im1->trueColor != im2->trueColor) { in gdImageCompare()
2810 sx = im1->sx; in gdImageCompare()
2811 if (im1->sx != im2->sx) { in gdImageCompare()
2813 if (im2->sx < im1->sx) { in gdImageCompare()
2818 sy = im1->sy; in gdImageCompare()
2819 if (im1->sy != im2->sy) { in gdImageCompare()
2821 if (im2->sy < im1->sy) { in gdImageCompare()
2826 if (im1->colorsTotal != im2->colorsTotal) { in gdImageCompare()
[all …]
H A Dgd.h571 int gdImageColorMatch(gdImagePtr im1, gdImagePtr im2);
803 int gdImageCompare(gdImagePtr im1, gdImagePtr im2);
/PHP-5.5/ext/gd/tests/
H A Dbug38212.phpt10 $im1 = imagecreatetruecolor(10,100);
11 imagefill($im1, 0,0, 0xffffff);
12 imagegd2($im1, $file);
/PHP-5.5/ext/gd/
H A Dgd.c170 ZEND_ARG_INFO(0, im1)
1656 gdImagePtr im1, im2; in PHP_FUNCTION() local
1663 ZEND_FETCH_RESOURCE(im1, gdImagePtr, &IM1, -1, "Image", le_gd); in PHP_FUNCTION()
1666 result = gdImageColorMatch(im1, im2); in PHP_FUNCTION()

Completed in 36 milliseconds