Esempio n. 1
0
        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)));
        }