int DiferentPixels = 0;
Bitmap first = new Bitmap(\"First.jpg\");
Bitmap second = new Bitmap(\"Second.jpg\");
Bitmap container = new Bitmap(first.Width, first.Height
For speed, resize the images to something very small (16x12, for example) and do the pixel comparison. If it is a near match, then try it at higher resolution.