Calculate pixels between two points on a image
问题 Turns out I am not explaining what I want to do very well so I am going to re-write the whole question again and add graphics to assist in the explanation. I am designing an app for android/iPhone. I have designed one algorithm for it already, but am stuck on the next one. What I am aiming to do is place two horizontal lines on an image (any image, just a picture taken by the iPhone/android) and then calculate what pixel the lines lye on, to then calculate the number of pixels between them. I