Example #1
0
        public static ImageSource ResizeImageFromRemote(ImageSize imageSize)
        {
            var imageByte = Default(ImageResizerHelpers.ResizeImageFromRemote(imageSize), imageSize);

            if (imageByte == null)
            {
                return(null);
            }
            return(ImageSource.FromStream(() => new MemoryStream(imageByte)));
        }
        public static ImageSource ResizeImageFromRemote(ImageSize imageSize)
        {
            var imageByte = imageResizerHelpers.ResizeImageFromRemote(imageSize);

            return(ImageSource.FromStream(() => new MemoryStream(imageByte)));
        }