protected static void initCMYKColorspace(){
  if (ICCProfileForRGB == null) {
    rgbModel=new ComponentColorModel(rgbCS,new int[]{8,8,8},false,false,ColorModel.OPAQUE,DataBuffer.TYPE_BYTE);
  }
 else {
    final int compCount=rgbCS.getNumComponents();
    final int[] values=new int[compCount];
    for (int i=0; i < compCount; i++) {
      values[i]=8;
    }
    rgbModel=new ComponentColorModel(rgbCS,values,false,false,ColorModel.OPAQUE,DataBuffer.TYPE_BYTE);
  }
  final FastColorSpaceCMYK cmykCS=new FastColorSpaceCMYK();
  CSToRGB=new ColorConvertOp(cmykCS,rgbCS,ColorSpaces.hints);
}

protected static void initCMYKColorspace ( ) { if ( ICCProfileForRGB == null ) { rgbModel = new ComponentColorModel ( rgbCS , new int [ ] { 8 , 8 , 8 } , false , false , ColorModel . OPAQUE , DataBuffer . TYPE_BYTE ) ; } else { final int compCount = rgbCS . getNumComponents ( ) ; final int [ ] values = new int [ compCount ] ; for ( int i = 0 ; i < compCount ; i ++ ) { values [ i ] = 8 ; } rgbModel = new ComponentColorModel ( rgbCS , values , false , false , ColorModel . OPAQUE , DataBuffer . TYPE_BYTE ) ; } final FastColorSpaceCMYK cmykCS = new FastColorSpaceCMYK ( ) ; CSToRGB = new ColorConvertOp ( cmykCS , rgbCS , ColorSpaces . hints ) ; }
initialise all the colorspaces when first needed
