Just use tex v and u, it has a scale going from 0 to 1024 pixels. If your image isn't 1024x1024, just apply a multiplying factor. Each point has its own coordinate in v and u, define the area you want to keep and adjust the points/edges coordinates (edited)