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, May 10, 2011 7:25:25 PM(UTC)
ChingYen

Rank: Advanced Member

Groups: Member
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.
Dmitry.Obukhov  
#2 Posted : Thursday, May 12, 2011 3:43:11 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Administration
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.
Users browsing this topic
Similar Topics
Image Overlay (Discussions – Graphics Mill)
by ChingYen 8/10/2009 12:41:12 AM(UTC)
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.