Converts page to a new color space, using the specified background color for images that contain Alpha channel.
Syntax
'Declaration
Public Overloads Shared Sub ConvertColorSpace( _
ByVal As ImGearRasterPage, _
ByVal As ImGearColorSpace, _
ByVal As ImGearPixel _
)
'Usage
Dim page As ImGearRasterPage
Dim newColorSpace As ImGearColorSpace
Dim backgroundColor As ImGearPixel
ImGearRasterProcessing.ConvertColorSpace(page, newColorSpace, backgroundColor)
public static void ConvertColorSpace(
ImGearRasterPage ,
ImGearColorSpace ,
ImGearPixel
)
public: static void ConvertColorSpace(
ImGearRasterPage* ,
ImGearColorSpace ,
ImGearPixel*
)
public:
static void ConvertColorSpace(
ImGearRasterPage^ ,
ImGearColorSpace ,
ImGearPixel^
)
Parameters
- page
- Image to change color space.
- newColorSpace
- New color space.
- backgroundColor
- Background to composite the image over when removing alpha channel.
See Also