Android development with simple sample programs and tutorials from android First program. Learn android easily.
f = new FileInputStream("path");
scale=2;
BitmapFactory.Options op=new BitmapFactory.Options();
op.inSampleSize=scale;
Bitmap bitmap=BitmapFactory.decodeStream(f,null,op);
No comments:
Post a Comment