Rank: Newbie
Groups: Guest
Joined: 1/19/2009(UTC) Posts: 5
|
Hi How can I create a Stamp effect like in photo editor "Border" > "artistic" > "Stamp" ? It's possible doing with Graphics Mill and Ajax ? and how ? could you provide some example in c# ? Another question.. how can I learn all the Graphics Mill's potentiality ? Thanks Edited by user Thursday, January 29, 2009 11:46:24 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello, You can easily implement this functionality using Graphics Mill. The basic idea is to prepare template image that contains the border. Central part of this template should be transparent. So you just need to draw this template image over source one taking into account transparency and you will get bordered image as a result. Here is small sample: Code:
using (Aurigma.GraphicsMill.Bitmap bitmap = new Aurigma.GraphicsMill.Bitmap(@"D:\Temp\IMG_0006.jpg"))
using (Aurigma.GraphicsMill.Bitmap border = new Aurigma.GraphicsMill.Bitmap(@"D:\Temp\Stamp.png"))
{
border.Transforms.Resize(bitmap.Width, bitmap.Height);
Aurigma.GraphicsMill.Transforms.Combiner combiner =
new Aurigma.GraphicsMill.Transforms.Combiner(border, Aurigma.GraphicsMill.Transforms.CombineMode.Alpha, 1,
Aurigma.GraphicsMill.Transforms.InterpolationMode.Bilinear);
combiner.ApplyTransform(bitmap);
bitmap.Save(@"D:\Temp\dest.jpg");
}
Read Overlaying Images for detailed information. aDino wrote:Another question.. how can I learn all the Graphics Mill's potentiality ? If you want to get to know what functionality is represented in Graphics Mill, you can start with online ducumentation: Overview of Features. Edited by user Friday, January 30, 2009 3:44:37 PM(UTC)
| Reason: Not specified Dmitry attached the following image(s): |
|
|
|
|
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.