ImageGear23.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > ConvertPixelFormat Method : ConvertPixelFormat(ImGearPixel,ImGearColorSpace,Int32[],ImGearRGBQuad[],ImGearColorSpace,Int32[],ImGearRGBQuad[]) Method |
'Declaration Public Overloads Shared Sub ConvertPixelFormat( _ ByVal pixel As ImGearPixel, _ ByVal sourceColorSpace As ImGearColorSpace, _ ByVal sourceChannelDepths() As Integer, _ ByVal sourcePalette() As ImGearRGBQuad, _ ByVal destinationColorSpace As ImGearColorSpace, _ ByVal destinationChannelDepths() As Integer, _ ByVal destinationPalette() As ImGearRGBQuad _ )
'Usage Dim pixel As ImGearPixel Dim sourceColorSpace As ImGearColorSpace Dim sourceChannelDepths() As Integer Dim sourcePalette() As ImGearRGBQuad Dim destinationColorSpace As ImGearColorSpace Dim destinationChannelDepths() As Integer Dim destinationPalette() As ImGearRGBQuad ImGearRasterProcessing.ConvertPixelFormat(pixel, sourceColorSpace, sourceChannelDepths, sourcePalette, destinationColorSpace, destinationChannelDepths, destinationPalette)
public static void ConvertPixelFormat( ImGearPixel pixel, ImGearColorSpace sourceColorSpace, int[] sourceChannelDepths, ImGearRGBQuad[] sourcePalette, ImGearColorSpace destinationColorSpace, int[] destinationChannelDepths, ImGearRGBQuad[] destinationPalette )
public: static void ConvertPixelFormat( ImGearPixel* pixel, ImGearColorSpace sourceColorSpace, int[]* sourceChannelDepths, ImGearRGBQuad[]* sourcePalette, ImGearColorSpace destinationColorSpace, int[]* destinationChannelDepths, ImGearRGBQuad[]* destinationPalette )
public: static void ConvertPixelFormat( ImGearPixel^ pixel, ImGearColorSpace sourceColorSpace, array<int>^ sourceChannelDepths, array<ImGearRGBQuad>^ sourcePalette, ImGearColorSpace destinationColorSpace, array<int>^ destinationChannelDepths, array<ImGearRGBQuad>^ destinationPalette )