Forums

Welcome Guest Search | Active Topics | Members

Speed up Rotate Right 90 degree Options
ChingYen
Posted: Wednesday, March 05, 2008 7:28:32 AM
Rank: Advanced Member
Groups: Member

Joined: 3/3/2008
Posts: 47
Points: 141
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
Posted: Thursday, March 06, 2008 1:35:13 AM

Rank: Advanced Member
Groups: Administration , Member

Joined: 7/28/2003
Posts: 1,235
Points: -208
Location: WA, US
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
Posted: Tuesday, March 11, 2008 5:55:03 PM
Rank: Advanced Member
Groups: Member

Joined: 3/3/2008
Posts: 47
Points: 141
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
Guest


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.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.