@@ -32,7 +32,7 @@ public class ImageUtil {
int degree = readPictureDegree(sourceFile.getAbsolutePath());
BitmapFactory.Options opts=new BitmapFactory.Options();//获取缩略图显示到屏幕上
- opts.inSampleSize=3;
+ opts.inSampleSize=1;
Bitmap cbitmap=BitmapFactory.decodeFile(sourceFile.getAbsolutePath(),opts);
/**
@@ -1250,7 +1250,7 @@ public class MainActivity extends AppCompatActivity
}
-// Bitmap scaled = Bitmap.createScaledBitmap(source, width, height, true);
+ Bitmap scaled1 = Bitmap.createScaledBitmap(source, width, height, true);
Bitmap scaled =RAUtil.scale_bmp(source,width,height);