Rank: Advanced Member
Groups: Guest
Joined: 3/29/2010(UTC) Posts: 81
Thanks: 10 times
|
Hello, I am using Aurigma graphicmills with C# ,
Aurigma.GraphicsMill.Transforms.Combiner combiner = new Aurigma.GraphicsMill.Transforms.Combiner(); combiner.CombineMode = Aurigma.GraphicsMill.Transforms.CombineMode.Copy; //Combine with the first image. combiner.SourceBitmap = photo1; combiner.SourceRectangle = new RectangleF(0, 0, photo1.Width, photo1.Height); combiner.DestinationRectangle = _RectRubberband.Rectangle; combiner.ApplyMaskTransform(background, mask);
using above code to create mask transform.. when using 24bppArgb image as background image its working fine , if using 32bppArgb Images it will make error ( message :Pixel format of mask bitmap has an unappropriate value.) .How can i solve it? please help me soon...
|
|
|
|
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)
|
Please attach your testing images. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/29/2010(UTC) Posts: 81
Thanks: 10 times
|
I have attached images .please help me soon Edited by user Thursday, September 15, 2011 4:30:27 AM(UTC)
| Reason: Not specified
|
|
|
|
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, I checked your images. Background and photo1 have Format32bppArgb PixelFormat. Unfortunately, GDI cannot handle bitmaps with an alpha channel (Format32bppArgb) when it draws anything on it. Please read details in the PixelFormat Enumeration. You should use another pixel format. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
1 user thanked Dmitry.Obukhov for this useful post.
|
|
|
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.