[magick-users] Padding image
Lars Eirik Rønning
larseirik at gmail.com
Fri Oct 10 07:10:33 PDT 2008
Hi.
I have an image which needs to be resizied and then rotated.
To get the proper offset when i do a crop i have to enlarge the canvas so
that it becomes square
In my case i have an image called testimage which is 1619pixels x 1214
pixels.
To get the right offset when i do a crop i need to extend the canvas to be
1619x1619 with padding to the top and the bottom.
When i do rotation -270 based on this output i will get the proper crop i am
looking for.
I hope you are able to help me out with this guys!
More information about the Magick-users
mailing list