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
 rotate
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

pierrotsc

USA
497 Posts

Posted - Feb 27 2019 :  16:04:47  Show Profile  Reply
Are these instructions from the manual correct ?
// Rotate the image 45° clockwise at highest quality and using the ImageEnView background color
ImageEnView1.Proc.Rotate( 315, ierBicubic, -1 );

// Rotate the image 90° clockwise (Note: AntialiasMode is irrelevant for 90 deg. rotations)
ImageEnView1.Proc.Rotate( 270 );

// Rotate the image 180° clockwise
ImageEnView1.Proc.Rotate( 180 );

// Rotate the image 90° counter-clockwise
ImageEnView1.Proc.Rotate( 90 );

When i use 270, i get counter clockwise and not clockwise it looks like.

xequte

38615 Posts

Posted - Feb 27 2019 :  17:40:09  Show Profile  Reply
Hi

I'm not seeing that.

Rotate( 90 ) = Rotate Left
Rotate( 270 ) = Rotate Right

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

pierrotsc

USA
497 Posts

Posted - Feb 27 2019 :  19:33:34  Show Profile  Reply
If you rotate clockwise, your image should rotate to the right (90). at least this is on how photoshop works.
Go to Top of Page

xequte

38615 Posts

Posted - Feb 27 2019 :  20:00:47  Show Profile  Reply
Hi

Naturally rotation to the right is clockwise.

However, in ImageEn a 90 deg. rotation is counter-clockwise (= Left). I personally agree that this is not intuitive, but that decision was made well before we took over the ImageEn project.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: