Searched refs:im1 (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_color.c12 /* 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 Dgdtest.c14 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 Dgd.h570 to look a bit more like the original (im1 is the original
572 int gdImageColorMatch(gdImagePtr im1, gdImagePtr im2);
804 int gdImageCompare(gdImagePtr im1, gdImagePtr im2);
H A Dgd.c2778 int gdImageCompare (gdImagePtr im1, gdImagePtr im2) argument
2785 if (im1->interlace != im2->interlace) {
2789 if (im1->transparent != im2->transparent) {
2793 if (im1->trueColor != im2->trueColor) {
2797 sx = im1->sx;
2798 if (im1->sx != im2->sx) {
2800 if (im2->sx < im1->sx) {
2805 sy = im1->sy;
2806 if (im1->sy != im2->sy) {
2808 if (im2->sy < im1
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd.c178 ZEND_ARG_INFO(0, im1)
1641 /* {{{ proto bool imagecolormatch(resource im1, resource im2)
1646 gdImagePtr im1, im2; local
1653 ZEND_FETCH_RESOURCE(im1, gdImagePtr, IM1, -1, "Image", le_gd);
1656 result = gdImageColorMatch(im1, im2);

Completed in 18 milliseconds