title: What is the most efficient way to loop through picture pixels
body: <p>I've 2 images that I need to compare of 1280x800 each and I'm too worried about the efficiency as I'll have to do the same operations that include looping each second </p>
  
  <p>I can think of so many ways to loop through a Bitmap object pixels but I don't know which would be more efficient, for now I am using simple for loop but it uses too much memory and processing which I could not afford at this point</p>
  
  <p>Some tweaks here and there and all it does is less memory for more processing or the other way around</p>
  
  <p>Any tips, information or experience is highly appreciated, I'm also open to use external libraries if they have much better efficiency.</p>