//Loads an image with an alpha channel and blends it with an already loaded image.
using (FileStream file = new FileStream("PNGTEST.png",
FileMode.Open, FileAccess.Read, FileShare.Read))
{
ImGearRasterPage igRasterPageAlpha = (ImGearRasterPage)
ImGearFileFormats.LoadPage(file, 0);
ImGearRasterProcessing.BlendWithAlpha(
igRasterPage, 10, 10, igRasterPageAlpha);
}
'Loads an image with an alpha channel and blends it with an already loaded image.
Using file As New FileStream("PNGTEST.png", FileMode.Open, FileAccess.Read, FileShare.Read)
Dim igRasterPageAlpha As ImGearRasterPage = DirectCast(ImGearFileFormats.LoadPage(file, 0), ImGearRasterPage)
ImGearRasterProcessing.BlendWithAlpha(igRasterPage, 10, 10, igRasterPageAlpha)
End Using