I have had to do something very similar to this.
iWidth = image width
iHeight = image height
adjX = (iWidth * 0.2) / 2 // Scaling factor that works for me
adjY = iHeight * 0.1
frameWidth = 15 // width of the frame side
convert input.jpg
-virtual-pixel white -distort Perspective
"0,0," & adjX ...
Search found 1 match
- 2012-08-24T02:55:38-07:00
- Forum: Users
- Topic: Canvas wrap transformation
- Replies: 44
- Views: 114844