Closed eoherrer closed 7 years ago
Hi!,
I'm trying to use the decode process, but returns null the bitmap.
File file = new File("/storage/emulated/0/Android/data/Temp/50a.tif");
//Read data about image to Options object TiffBitmapFactory.Options options = new TiffBitmapFactory.Options(); options.inJustDecodeBounds = true;
Bitmap bmp = null; bmp = TiffBitmapFactory.decodeFile(file, options);
Can you please tell me if I missing something.
When inJustDecodeBounds set to true - bitmap not decided, but meta-information read. Set this variable to false and decoder will return bitmap
Awesome Thanks!!!!
Hi!,
I'm trying to use the decode process, but returns null the bitmap.
File file = new File("/storage/emulated/0/Android/data/Temp/50a.tif");
//Read data about image to Options object TiffBitmapFactory.Options options = new TiffBitmapFactory.Options(); options.inJustDecodeBounds = true;
Can you please tell me if I missing something.