Lines Matching refs:im1
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) {
2883 sx = im1->sx;
2884 if (im1->sx != im2->sx) {
2886 if (im2->sx < im1->sx) {
2891 sy = im1->sy;
2892 if (im1->sy != im2->sy) {
2894 if (im2->sy < im1->sy) {
2899 if (im1->colorsTotal != im2->colorsTotal) {
2905 p1 = im1->trueColor ? gdImageTrueColorPixel(im1, x, y) : gdImagePalettePixel(im1, 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)) {