public IImage ImageFromFile(string path)
        {
            var bmp = BitmapFactory.DecodeFile(path);

            if (bmp == null)
            {
                return(null);
            }

            var dimg = new AndroidImage()
            {
                Bitmap = bmp
            };

            return(dimg);
        }
Example #2
0
        public IImage ImageFromFile(string path)
        {
            var bmp = BitmapFactory.DecodeFile (path);
            if (bmp == null) return null;

            var dimg = new AndroidImage () {
                Bitmap = bmp
            };
            return dimg;
        }