ImageGearJava Project > com.accusoft.imagegear.processing Package > ImGearRasterProcessing Class > convertPixelFormat Method : convertPixelFormat(ImGearPixel,ImGearColorSpace,int[],ImGearRGBQuad[],ImGearPage) Method |
Note: Using this method in a cycle for large array of pixels could be inefficient. Consider creating a temporary com.accusoft.imagegear.core.ImGearPage class object and converting its colorspace and channel depths in this case.
public static void convertPixelFormat( ImGearPixel pixel, ImGearColorSpace sourceColorSpace, int[] sourceChannelDepths, ImGearRGBQuad[] sourcePalette, ImGearPage pageToConvertFormatTo ) |
Note: Using this method in a cycle for large array of pixels could be inefficient. Consider creating a temporary com.accusoft.imagegear.core.ImGearPage class object and converting its colorspace and channel depths in this case.