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.c2780 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...]
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);
/PHP_TRUNK/ext/gd/
H A Dgd.c178 ZEND_ARG_INFO(0, im1)
1642 /* {{{ proto bool imagecolormatch(resource im1, resource im2)
1647 gdImagePtr im1, im2; local
1654 ZEND_FETCH_RESOURCE(im1, gdImagePtr, IM1, -1, "Image", le_gd);
1657 result = gdImageColorMatch(im1, im2);

Completed in 17 milliseconds