composite and distort
Posted: 2010-11-28T11:47:14-07:00
I use the following code to create pictures with round corners:
I search for a solution to rotate the image (image center) and place it on the canvas "bigpictures.png" to the right coordinates. This works without rotation, but with rotation the position ist wrong. I found some examples with +distort, but i donĀ“t know how i can use this with composite. I tried:
Can anyone help me?
Code: Select all
composite -compose SrcIn -units pixelsperinch -density 150x150 -geometry 89.172342300415%x89.172342300415%+267.368+0.266 /html/photos/893.jpg /html/shapes/bigpictures.png /html/photos/893_final.png
Code: Select all
composite -compose SrcIn -units pixelsperinch -density 150x150 +distort SRT 267.368,0.266,89.172342300415,89.172342300415,90 /html/photos/893.jpg /html/shapes/bigpictures.png /html/photos/893_final.png