rotate image
Posted: 2009-08-10T04:20:48-07:00
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.....
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.....