Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
Hi, We are doing this to overlay 2 images. Wondering how can we "rotate" the other photo (eoothImageFrame) by 22 degree. Code:
Aurigma.GraphicsMill.Bitmap eiothMaskframe = new Aurigma.GraphicsMill.Bitmap(Color.White, 1000, 500, Aurigma.GraphicsMill.PixelFormat.Format8bppGrayScale);
Aurigma.GraphicsMill.Bitmap eoothImageFrame = new Aurigma.GraphicsMill.Bitmap(Color.Black, 100, 100, Aurigma.GraphicsMill.PixelFormat.Format8bppGrayScale);
eiothMaskframe.HorizontalResolution = 96;
eiothMaskframe.VerticalResolution = 96;
eoothImageFrame.HorizontalResolution = 96;
eoothImageFrame.VerticalResolution = 96;
eoothImageFrame.Draw(eiothMaskframe, (float)300, (float)300, eoothImageFrame.Width, eoothImageFrame.Height, Aurigma.GraphicsMill.Transforms.CombineMode.AlphaOverlapped, 1.0F, Aurigma.GraphicsMill.Transforms.InterpolationMode.HighSpeed);
Please advise.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello Ching Yen, You need to use Rotate metod: Code:eoothImageFrame.Transforms.Rotate(22f);
|
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
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.