Resize bitmap without loosing quality
===

I loading pictures from sd card to bitmap. Files are jpeg. I am doing that in this way:

    Bitmap b = BitmapFactory.decodeFile("/sdcard/DinEgen/"+name.get(position), null);
    		Bitmap img = Bitmap.createScaledBitmap( b, width, height, true);
    		
    		 b.recycle();
            i.setImageBitmap(img);

But when I scaledBitmap I loose quality. When I use only "bitmap b" quality is good. So I am loosing quelity when I use `createScaledBitmap`. How I can scale bitmap b to size from `hight` and `width` variable?