ConvertColorSpace(ImGearRasterPage,ImGearColorSpace,Boolean) Method
In This Topic
Converts page to a new color space, allowing to skip pixel data conversion.
Syntax
'Declaration
Public Overloads Shared Sub ConvertColorSpace( _
ByVal As ImGearRasterPage, _
ByVal As ImGearColorSpace, _
ByVal As Boolean _
)
'Usage
Dim page As ImGearRasterPage
Dim newColorSpace As ImGearColorSpace
Dim doNotScalePixels As Boolean
ImGearRasterProcessing.ConvertColorSpace(page, newColorSpace, doNotScalePixels)
public static void ConvertColorSpace(
ImGearRasterPage ,
ImGearColorSpace ,
bool
)
public: static void ConvertColorSpace(
ImGearRasterPage* ,
ImGearColorSpace ,
bool
)
public:
static void ConvertColorSpace(
ImGearRasterPage^ ,
ImGearColorSpace ,
bool
)
Parameters
- page
- Image to convert.
- newColorSpace
- New color space.
- doNotScalePixels
- Flag indicating whether to change pixel values according to the new color space.
See Also