Fix image save
This commit is contained in:
1 parent
d4dc65a4ba
commit
da87fb2551
7 files changed
+12
-73
No files matched your search
@@ -50,8 +50,6 @@ public final class BitmapUtils {
|
||||
public static Bitmap decodeStream(@NonNull InputStreamPipe isp, int maxWidth, int maxHeight,
|
||||
int pixels, boolean checkMemory, boolean justCalc, int[] sampleSize) {
|
||||
try {
|
||||
isp.obtain();
|
||||
|
||||
BitmapFactory.Options options = new BitmapFactory.Options();
|
||||
options.inJustDecodeBounds = true;
|
||||
BitmapFactory.decodeStream(isp.open(), null, options);
|
||||
|
||||
Reference in new issue
Block a user