Page 1 of 1

rotate image

Posted: 2009-08-10T04:20:48-07:00
by asha09
Hi All................
Im developing a small vc++ application......In this application im loading list of images...
My task is... Rotate image around the center point of image.

I tried the following code for Rotating image.
double angle=(2*pi*degree)/360;
img.Rotate(angle);

this code is helful to rotatae image but not around the center point....It rotates the image from image starting point only..

im using Visual studio 6.0 and ImageMagick-6.3.4...
Please help me in VC++ code......How can i do this....


ThanksInAdvance.....

Re: rotate image

Posted: 2009-08-10T21:25:23-07:00
by anthony
See IM examples, SRT Distortion.
http://www.imagemagick.org/Usage/distorts/#srt