I dont have any compiler for text your code but you can use of a simple code instead this code but its very slow.You can use COLORREF CImage::GetPixel(int x,int y) it returns RGB of pixels on the loop you can use of it for first gif and second gif for check COLORREF.
How the data is obtained and how that data is presented are separate issues. You indicated earlier that you found a VC++ solution. It stands to reason that you should be able to extract the portion of that code that just deals with the Java servlet.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
Open it in MSPaint, File - Save As, save as JPEG file type.
-=- James Please rate this message - let me know if I helped or not!<hr></hr>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles