Home
last modified time | relevance | path

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

/PHP-5.4/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_compat.h63 int gdImageColorMatch (gdImagePtr im1, gdImagePtr im2);
H A Dgd.c2789 if (im1->interlace != im2->interlace) { in gdImageCompare()
2793 if (im1->transparent != im2->transparent) { in gdImageCompare()
2797 if (im1->trueColor != im2->trueColor) { in gdImageCompare()
2801 sx = im1->sx; in gdImageCompare()
2802 if (im1->sx != im2->sx) { in gdImageCompare()
2804 if (im2->sx < im1->sx) { in gdImageCompare()
2809 sy = im1->sy; in gdImageCompare()
2810 if (im1->sy != im2->sy) { in gdImageCompare()
2812 if (im2->sy < im1->sy) { in gdImageCompare()
2817 if (im1->colorsTotal != im2->colorsTotal) { in gdImageCompare()
[all …]
H A Dgd.h452 int gdImageColorMatch(gdImagePtr im1, gdImagePtr im2);
683 int gdImageCompare(gdImagePtr im1, gdImagePtr im2);
/PHP-5.4/ext/gd/tests/
H A Dbug38212.phpt10 $im1 = imagecreatetruecolor(10,100);
11 imagefill($im1, 0,0, 0xffffff);
12 imagegd2($im1, $file);
/PHP-5.4/ext/gd/
H A Dgd.c199 ZEND_ARG_INFO(0, im1)
1711 gdImagePtr im1, im2; in PHP_FUNCTION() local
1718 ZEND_FETCH_RESOURCE(im1, gdImagePtr, &IM1, -1, "Image", le_gd); in PHP_FUNCTION()
1721 result = gdImageColorMatch(im1, im2); in PHP_FUNCTION()

Completed in 45 milliseconds