Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
ChingYen  
#1 Posted : Tuesday, March 4, 2008 11:28:32 PM(UTC)
ChingYen

Rank: Advanced Member

Groups: Member
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Hi,

I am using this code to Rotate 90 Degree Clock Wise for my picture.
bitmap = New Aurigma.GraphicsMill.Bitmap(_item.Pidl.Path)
bitmap.Transforms.Rotate(90)

But, when it come to big picture, and high res, it will run very slow. Please advice.


Fedor  
#2 Posted : Wednesday, March 5, 2008 5:35:13 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,550

Thanks: 5 times
Was thanked: 59 time(s) in 58 post(s)
Hello,

Please use RotateAndFlip method instead of Rotate one. It rotates on 90/180/270 degrees much faster then on arbitrary angle:

Code:
bitmap.Transforms.RotateAndFlip(System.Drawing.RotateFlipType.Rotate90FlipNone);
Best regards,
Fedor Skvortsov
ChingYen  
#3 Posted : Tuesday, March 11, 2008 9:55:03 AM(UTC)
ChingYen

Rank: Advanced Member

Groups: Member
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Fedor wrote:
Hello,

Please use RotateAndFlip method instead of Rotate one. It rotates on 90/180/270 degrees much faster then on arbitrary angle:

Code:
bitmap.Transforms.RotateAndFlip(System.Drawing.RotateFlipType.Rotate90FlipNone);



Thanks !!!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.