Lines Matching refs:im2
2918 int gdImageCompare (gdImagePtr im1, gdImagePtr im2)
2925 if (im1->interlace != im2->interlace) {
2929 if (im1->transparent != im2->transparent) {
2933 if (im1->trueColor != im2->trueColor) {
2938 if (im1->sx != im2->sx) {
2940 if (im2->sx < im1->sx) {
2941 sx = im2->sx;
2946 if (im1->sy != im2->sy) {
2948 if (im2->sy < im1->sy) {
2949 sy = im2->sy;
2953 if (im1->colorsTotal != im2->colorsTotal) {
2960 p2 = im2->trueColor ? gdImageTrueColorPixel(im2, x, y) : gdImagePalettePixel(im2, x, y);
2962 if (gdImageRed(im1, p1) != gdImageRed(im2, p2)) {
2966 if (gdImageGreen(im1, p1) != gdImageGreen(im2, p2)) {
2970 if (gdImageBlue(im1, p1) != gdImageBlue(im2, p2)) {
2976 if (gdImageAlpha(im1, p1) != gdImageAlpha(im2, p2)) {