예제 #1
0
        public async Task <RgbImage> GetRgbAsync()
        {
            if (rgb == null)
            {
                rgb = await RgbImage.FromBitmapAsync(Image);
            }

            return(rgb);
        }
예제 #2
0
        public static async Task <YiqImage> FromBitmapAsync(Bitmap image)
        {
            RgbImage rgb = await RgbImage.FromBitmapAsync(image);

            return(await YiqImage.FromRgbAsync(rgb));
        }