Blends two images based on the weight (in percents) of the secondary image.
Syntax
'Declaration
Public Overloads Shared Sub Blend( _
ByVal As ImGearRasterPage, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As ImGearRasterPage, _
ByVal As Double, _
ByVal As ImGearChannelRange _
)
'Usage
Dim page As ImGearRasterPage
Dim left As Integer
Dim top As Integer
Dim pageToBlendWith As ImGearRasterPage
Dim weight As Double
Dim channelsRange As ImGearChannelRange
ImGearRasterProcessing.Blend(page, left, top, pageToBlendWith, weight, channelsRange)
Parameters
- page
- Page to process.
- left
- Left margin of blended image.
- top
- Top margin of blended image.
- pageToBlendWith
- Image to blend with .
- weight
- A value from 0 to 100 defining the % weight of the image to be blended.
- channelsRange
- Channel range to process.
See Also