It is possible to apply filters to a picture, but I can apply only 1 filter, using lumia imaging sdk. When developing on Win 8.1, I used an array with filters and they were all applied at once, it doesn't work like that, is there any way to apply several filters at once?
The code for applying the effect:
public async Task<bool> ApplyEffectAsync(StorageFile file) { WriteableBitmap temp = new WriteableBitmap(1280, 720); temp = new WriteableBitmap(1280, 720); FileStream = await File.OpenAsync(FileAccessMode.Read); temp.SetSource(FileStream); OriginalPicture = temp; FileStream.Seek(0); original.Invalidate(); ((IImageConsumer) Effect).Source = new RandomAccessStreamImageSource(FileStream); M_renderer = new WriteableBitmapRenderer((IImageProvider)Effect, original); FilteringPicture = await M_renderer.RenderAsync(); filtering.Invalidate(); return true; }