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

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

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