[magick-users] Padding image

Fred Weinhaus fmw at alink.net
Fri Oct 10 10:20:58 PDT 2008


Sorry, I do not understand?  What is the actual question?


>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