- get the image width and height once rather then calculating on every access (was doing min/max subtract). - use unsigned int's - faster for looping.
- get the image width and height once rather then calculating on every access (was doing min/max subtract). - use unsigned int's - faster for looping.