private int selectRGBTransform(RGBTransformAvailable chanel,Color color){
        int colorReturn=0;
        switch (chanel){
            case GBR:
                colorReturn=super.colorRGBtoSRGB(new Color(color.getGreen(), 
                        color.getBlue(), color.getRed(),color.getAlpha()));
                break;
            case GRB:
                colorReturn=super.colorRGBtoSRGB(new Color(color.getGreen(), 
                        color.getRed(), color.getBlue(),color.getAlpha()));
                break;
            case BRG:
                colorReturn=super.colorRGBtoSRGB(new Color(color.getBlue(), 
                        color.getRed(), color.getGreen(),color.getAlpha()));
                break;
            case BGR:
                colorReturn=super.colorRGBtoSRGB(new Color(color.getBlue(), 
                        color.getGreen(), color.getRed(),color.getAlpha()));
                break;
            case RBG:
                colorReturn=super.colorRGBtoSRGB(new Color(color.getRed(), 
                        color.getBlue(), color.getGreen(),color.getAlpha()));
                break;
        }
        return colorReturn;
    }