Converts a single pixel to color space and channel depths of the specified 
ImageGear.Core.ImGearPage class object.
Syntax
            
            
            
            
            'Declaration
 
Public Overloads Shared Sub ConvertPixelFormat( _
   ByVal  As ImGearPixel, _
   ByVal  As ImGearColorSpace, _
   ByVal () As Integer, _
   ByVal () As ImGearRGBQuad, _
   ByVal  As ImGearPage _
) 
             
        
            
            'Usage
 
Dim pixel As ImGearPixel
Dim sourceColorSpace As ImGearColorSpace
Dim sourceChannelDepths() As Integer
Dim sourcePalette() As ImGearRGBQuad
Dim pageToConvertFormatTo As ImGearPage
 
ImGearRasterProcessing.ConvertPixelFormat(pixel, sourceColorSpace, sourceChannelDepths, sourcePalette, pageToConvertFormatTo)
             
        
            
            public static void ConvertPixelFormat( 
   ImGearPixel ,
   ImGearColorSpace ,
   int[] ,
   ImGearRGBQuad[] ,
   ImGearPage 
)
             
        
            
            public: static void ConvertPixelFormat( 
   ImGearPixel* ,
   ImGearColorSpace ,
   int[]* ,
   ImGearRGBQuad[]* ,
   ImGearPage* 
) 
             
        
            
        
             
        
            Parameters
- pixel
- Pixel to convert to the new format.
- sourceColorSpace
- Source colorspace of the pixel.
- sourceChannelDepths
- Source channel depths of the pixel. Length of the channel depths
            array should correspond to the srcColorSpace parameter.
- sourcePalette
- Source palette used by the pixel, if its colorspace is Indexed, or null otherwise.
- pageToConvertFormatTo
- Page whose colorspace, channel depths, and palette will be used
            for destination format when converting the pixel.
 
            
            
            
            
            
            
            
            
            
            
            
            See Also