On Fri, 2006-12-01 at 21:16 +0100, Jindrich Makovicka wrote: + if (memcmp(i1->bitmap, i2->bitmap, i1->h * i1->stride) != 0) + return 2; Is there really no better way to detect identical images than memcmp the rendered results? I find that hard to believe.