I suggest you use "-background Blue -virtual-pixel Background" for testing, so you can see what is happening. When it does what you want, change this to "-virtual-pixel transparent".
Your image is 1900x1343 pixels. So the bottom-left pixel is at (1899,0).
Your coordinates are strange. For clarity, I split them:
Code: Select all
'0,0,0,0
0,1900,0,1900
900,0,900,200
900,900,900,900'
So top-left won't move. (0,1900) is outside your input image, which has the bottom-right pixel at (1899,1342). I don't think you intend this.
Commonly, we have an input image and want to move the
corners of this image to specified coordinates, for example:
Code: Select all
'0,0,0,0
0,1342,0,1300
1899,0,1700,0
1899,1342,1850,1300'
jensen31 wrote:So is this the best way to put text perspectivly transformed on an image?
Yes. Write the text to a new image, and trim it. Find the coordinates of the corners. Find the coordinates on the main image where you want each corner of the text image. That gives the 16 numbers.