// Opens an image and blends it into an already open image.
using (FileStream file = new FileStream("photo.jpg",
FileMode.Open, FileAccess.Read, FileShare.Read))
{
ImGearRasterPage igPageToBlend = (ImGearRasterPage)
ImGearFileFormats.LoadPage(file, 0);
// Blend the page with a weight of 25% starting from the point 100,100.
ImGearRasterProcessing.Blend(igRasterPage, 100, 100, igPageToBlend, 25.0);
}
' Opens an image and blends it into an already open image.
Using file As New FileStream("photo.jpg", FileMode.Open, FileAccess.Read, FileShare.Read)
Dim igPageToBlend As ImGearRasterPage = DirectCast(ImGearFileFormats.LoadPage(file, 0), ImGearRasterPage)
' Blend the page with a weight of 25% starting from the point 100,100.
ImGearRasterProcessing.Blend(igRasterPage, 100, 100, igPageToBlend, 25)
End Using