public async Task <Stream> PixelateSingleImage(string imagePath) { _imagePath = imagePath; var bitmap = SKBitmap.Decode(imagePath); var origin = SKCodec.Create(imagePath).EncodedOrigin; return(await Pixelate(bitmap, origin, _cloudConnector.AnalyseImage(imagePath))); }