Example #1
0
        public RgbImage GetRgb()
        {
            if (rgb == null)
            {
                rgb = RgbImage.FromBitmap(Image);
            }

            return(rgb);
        }
Example #2
0
        public static YiqImage FromBitmap(Bitmap image)
        {
            RgbImage rgb = RgbImage.FromBitmap(image);

            return(YiqImage.FromRgb(rgb));
        }