Depends on what software you are planning to use. With Photoshop it is very easy using the move tool. You simply select the layer, select the move tool, and then hold Ctrl while dragging a corner.
Here I just dragged the top left corner while holding Ctrl.
It’s not possible to skew images like that in Adobe Illustrator. However I would suggest using Photoshop for this kind of stuff, as @BanTech also suggested.