Beispiel #1
0
        public static BMPRGBQuad ConvertSCIQuadToBMPQuad(SCIRGBQuad sciQuad)
        {
            // we reverse
            BMPRGBQuad result = new BMPRGBQuad();

            result.res   = sciQuad.res;
            result.red   = sciQuad.red;
            result.green = sciQuad.green;
            result.blue  = sciQuad.blue;
            return(result);
        }
Beispiel #2
0
        public static SCIRGBQuad ConvertBMPQuadToSCIQuad(BMPRGBQuad bmpQuad)
        {
            // we reverse
            SCIRGBQuad result = new SCIRGBQuad();

            result.res   = bmpQuad.res;
            result.red   = bmpQuad.red;
            result.green = bmpQuad.green;
            result.blue  = bmpQuad.blue;
            return(result);
        }