Lines Matching refs:im2
2867 int gdImageCompare (gdImagePtr im1, gdImagePtr im2)
2874 if (im1->interlace != im2->interlace) {
2878 if (im1->transparent != im2->transparent) {
2882 if (im1->trueColor != im2->trueColor) {
2887 if (im1->sx != im2->sx) {
2889 if (im2->sx < im1->sx) {
2890 sx = im2->sx;
2895 if (im1->sy != im2->sy) {
2897 if (im2->sy < im1->sy) {
2898 sy = im2->sy;
2902 if (im1->colorsTotal != im2->colorsTotal) {
2909 p2 = im2->trueColor ? gdImageTrueColorPixel(im2, x, y) : gdImagePalettePixel(im2, x, y);
2911 if (gdImageRed(im1, p1) != gdImageRed(im2, p2)) {
2915 if (gdImageGreen(im1, p1) != gdImageGreen(im2, p2)) {
2919 if (gdImageBlue(im1, p1) != gdImageBlue(im2, p2)) {
2925 if (gdImageAlpha(im1, p1) != gdImageAlpha(im2, p2)) {