public async Task <RgbImage> GetRgbAsync() { if (rgb == null) { rgb = await RgbImage.FromBitmapAsync(Image); } return(rgb); }
public static async Task <YiqImage> FromBitmapAsync(Bitmap image) { RgbImage rgb = await RgbImage.FromBitmapAsync(image); return(await YiqImage.FromRgbAsync(rgb)); }