public async Task RenderRgbGainCustomFilter() { var customFilter = new RgbGainCustomFilter() { RedLevel = 1.5f, GreenLevel = 1.0f, BlueLevel = 0.75f }; using (var source = KnownImages.MikikoLynn.ImageSource) using (var filterEffect = new FilterEffect(source) { Filters = new[] { customFilter } }) using (var renderer = new JpegRenderer(filterEffect)) { var buffer = await renderer.RenderAsync(); ImageResults.Instance.SaveToPicturesLibrary(buffer); } }