title: How to start a count in java from bottom-left corner?
body: <p><img src="https://i.stack.imgur.com/HVrKr.png" alt="enter image description here">I know in java the top-left is considered the (0,0) coordinate. I am trying to count the pixel of a file. The file pixel's (0,0) coordinate, starts in the bottom-left corner.  The total overall area of the screen is 1121x881.  I need to count the pixels in order so that the data matches up with the coordinates. The area I want out of the 1121x881 is 543x451. Can anyone help me do this?</p>