Lines Matching refs:im2
2864 int gdImageCompare (gdImagePtr im1, gdImagePtr im2)
2871 if (im1->interlace != im2->interlace) {
2875 if (im1->transparent != im2->transparent) {
2879 if (im1->trueColor != im2->trueColor) {
2884 if (im1->sx != im2->sx) {
2886 if (im2->sx < im1->sx) {
2887 sx = im2->sx;
2892 if (im1->sy != im2->sy) {
2894 if (im2->sy < im1->sy) {
2895 sy = im2->sy;
2899 if (im1->colorsTotal != im2->colorsTotal) {
2906 p2 = im2->trueColor ? gdImageTrueColorPixel(im2, x, y) : gdImagePalettePixel(im2, x, y);
2908 if (gdImageRed(im1, p1) != gdImageRed(im2, p2)) {
2912 if (gdImageGreen(im1, p1) != gdImageGreen(im2, p2)) {
2916 if (gdImageBlue(im1, p1) != gdImageBlue(im2, p2)) {
2922 if (gdImageAlpha(im1, p1) != gdImageAlpha(im2, p2)) {