Image() function with 4 points

In my understanding the OP wants an image function that would take 2 points instead of one point plus width and height.
I tried to explain how to achieve this.