ImageGear for .NET
Duotone Method




Page class object.
Color to which to map the darkest areas of the source image.
Color to which to map the lightest areas of the source image.
This method maps the darkest pixels of the image to color1, brightest pixels with color2, and other pixels to a linear combination of color1 and color2, depending on their brightness.
Syntax
'Declaration
 
Public Shared Sub Duotone( _
   ByVal page As ImGearRasterPage, _
   ByVal color1 As ImGearPixel, _
   ByVal color2 As ImGearPixel _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim color1 As ImGearPixel
Dim color2 As ImGearPixel
 
ImGearEffects.Duotone(page, color1, color2)
public static void Duotone( 
   ImGearRasterPage page,
   ImGearPixel color1,
   ImGearPixel color2
)
public: static void Duotone( 
   ImGearRasterPage* page,
   ImGearPixel* color1,
   ImGearPixel* color2
) 
public:
static void Duotone( 
   ImGearRasterPage^ page,
   ImGearPixel^ color1,
   ImGearPixel^ color2
) 

Parameters

page
Page class object.
color1
Color to which to map the darkest areas of the source image.
color2
Color to which to map the lightest areas of the source image.
See Also

Reference

ImGearEffects Class
ImGearEffects Members
ImGearRasterPage Class

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback