- Edit > Perspective Warp.
- Draw the plane/corners
- Switch to Warp
- Redraw a flat plane to map the image correctly.
Reference:
https://helpx.adobe.com/photoshop/using/perspective-warp.html
Screen replacement video:
Hacks, tips, tricks and best practices for developers
Reference:
https://helpx.adobe.com/photoshop/using/perspective-warp.html
Screen replacement video: