Is there a way to distort the image using 4 points, where 4 points will correspond to the corners of the image?
Something like that:

Ignore midpoints and center point. Here, although the image looks like warped in 3d, this is not in my case. This is similar to changing the 2nd rectangle of the polygon on the screen, where the image filling the rectangle corresponds to the modified shape / polygon, since both have 4 vertices and 4 edges.
Any ideas on how to do this?
source
share