Rotate image around center point

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
asha09

Rotate image around center point

Post 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......How can i do this....


ThanksInAdvance.....
Post Reply