Lines Matching refs:im1
2819 int gdImageCompare (gdImagePtr im1, gdImagePtr im2)
2826 if (im1->interlace != im2->interlace) {
2830 if (im1->transparent != im2->transparent) {
2834 if (im1->trueColor != im2->trueColor) {
2838 sx = im1->sx;
2839 if (im1->sx != im2->sx) {
2841 if (im2->sx < im1->sx) {
2846 sy = im1->sy;
2847 if (im1->sy != im2->sy) {
2849 if (im2->sy < im1->sy) {
2854 if (im1->colorsTotal != im2->colorsTotal) {
2860 p1 = im1->trueColor ? gdImageTrueColorPixel(im1, x, y) : gdImagePalettePixel(im1, x, y);
2863 if (gdImageRed(im1, p1) != gdImageRed(im2, p2)) {
2867 if (gdImageGreen(im1, p1) != gdImageGreen(im2, p2)) {
2871 if (gdImageBlue(im1, p1) != gdImageBlue(im2, p2)) {
2877 if (gdImageAlpha(im1, p1) != gdImageAlpha(im2, p2)) {