ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > ConvertColorSpace Method : ConvertColorSpace(ImGearRasterPage,ImGearColorSpace) Method |
'Declaration Public Overloads Shared Sub ConvertColorSpace( _ ByVal page As ImGearRasterPage, _ ByVal newColorSpace As ImGearColorSpace _ )
'Usage Dim page As ImGearRasterPage Dim newColorSpace As ImGearColorSpace ImGearRasterProcessing.ConvertColorSpace(page, newColorSpace)
public static void ConvertColorSpace( ImGearRasterPage page, ImGearColorSpace newColorSpace )
public: static void ConvertColorSpace( ImGearRasterPage* page, ImGearColorSpace newColorSpace )
public: static void ConvertColorSpace( ImGearRasterPage^ page, ImGearColorSpace newColorSpace )
// Convert an image to grayscale and detect the edges in the image. ImGearRasterProcessing.ConvertColorSpace(igRasterPage, new ImGearColorSpace(ImGearColorSpaceIDs.Gy)); ImGearEffects.EdgeDetection(igRasterPage, ImGearEdgeDetectionMethods.DIFF_RECURSIVE);
' Convert an image to grayscale and detect the edges in the image. ImGearRasterProcessing.ConvertColorSpace(igRasterPage, New ImGearColorSpace(ImGearColorSpaceIDs.Gy)) ImGearEffects.EdgeDetection(igRasterPage, ImGearEdgeDetectionMethods.DIFF_RECURSIVE)