Lines Matching refs:im2
2791 int gdImageCompare (gdImagePtr im1, gdImagePtr im2)
2798 if (im1->interlace != im2->interlace) {
2802 if (im1->transparent != im2->transparent) {
2806 if (im1->trueColor != im2->trueColor) {
2811 if (im1->sx != im2->sx) {
2813 if (im2->sx < im1->sx) {
2814 sx = im2->sx;
2819 if (im1->sy != im2->sy) {
2821 if (im2->sy < im1->sy) {
2822 sy = im2->sy;
2826 if (im1->colorsTotal != im2->colorsTotal) {
2833 p2 = im2->trueColor ? gdImageTrueColorPixel(im2, x, y) : gdImagePalettePixel(im2, x, y);
2835 if (gdImageRed(im1, p1) != gdImageRed(im2, p2)) {
2839 if (gdImageGreen(im1, p1) != gdImageGreen(im2, p2)) {
2843 if (gdImageBlue(im1, p1) != gdImageBlue(im2, p2)) {
2849 if (gdImageAlpha(im1, p1) != gdImageAlpha(im2, p2)) {