Searched refs:im1 (Results 1 - 5 of 5) sorted by relevance
| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gd_color.c | 12 /* bring the palette colors in im2 to be closer to im1 15 int gdImageColorMatch (gdImagePtr im1, gdImagePtr im2) argument 23 if( !im1->trueColor ) { 24 return -1; /* im1 must be True Color */ 29 if( (im1->sx != im2->sx) || (im1->sy != im2->sy) ) { 39 for (x=0; x<im1->sx; x++) { 40 for( y=0; y<im1->sy; y++ ) { 42 rgb = im1->tpixels[y][x];
|
| H A D | gdtest.c | 14 void CompareImages (char *msg, gdImagePtr im1, gdImagePtr im2); 360 CompareImages (char *msg, gdImagePtr im1, gdImagePtr im2) argument 364 cmpRes = gdImageCompare (im1, im2); 388 im1->colorsTotal, im2->colorsTotal);
|
| H A D | gd.h | 569 to look a bit more like the original (im1 is the original 571 int gdImageColorMatch(gdImagePtr im1, gdImagePtr im2); 803 int gdImageCompare(gdImagePtr im1, gdImagePtr im2);
|
| H A D | gd.c | 2780 int gdImageCompare (gdImagePtr im1, gdImagePtr im2) argument 2787 if (im1->interlace != im2->interlace) { 2791 if (im1->transparent != im2->transparent) { 2795 if (im1->trueColor != im2->trueColor) { 2799 sx = im1->sx; 2800 if (im1->sx != im2->sx) { 2802 if (im2->sx < im1->sx) { 2807 sy = im1->sy; 2808 if (im1->sy != im2->sy) { 2810 if (im2->sy < im1 [all...] |
| /PHP_TRUNK/ext/gd/ |
| H A D | gd.c | 178 ZEND_ARG_INFO(0, im1) 1653 /* {{{ proto bool imagecolormatch(resource im1, resource im2) 1658 gdImagePtr im1, im2; local 1665 ZEND_FETCH_RESOURCE(im1, gdImagePtr, &IM1, -1, "Image", le_gd); 1668 result = gdImageColorMatch(im1, im2);
|
Completed in 21 milliseconds