ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Image rotation
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

pierrotsc

USA
499 Posts

Posted - Jan 08 2015 :  20:24:12  Show Profile  Reply
When I try to rotate an image clockwise, it goes counter clockwise.
I use:
ImageEnVect.RotateAllObjects(90, ierImage);
ImageEnVect.Proc.Rotate(90, ierBicubic, -1);

Pierre

xequte

39140 Posts

Posted - Jan 09 2015 :  23:06:07  Show Profile  Reply
Hi

That is by design (not a decision I would have made, but it predates me):

http://www.imageen.com/help/TImageEnProc.Rotate.html

Use AngleToImageEnRotateAngle to adjust the angle:

http://www.imageen.com/help/AngleToImageEnRotateAngle.html

i.e.

ImageEnVect.Proc.Rotate( AngleToImageEnRotateAngle( 90 ), ierBicubic, -1 );

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

pierrotsc

USA
499 Posts

Posted - Jan 10 2015 :  08:33:57  Show Profile  Reply
thank you. will try that.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: