Beyka / Android-TiffBitmapFactory

MIT License
129 stars 46 forks source link

getting bitmap value null for decodePath #50

Open Ramaraju1992 opened 3 years ago

Ramaraju1992 commented 3 years ago

Hi Team, Getting bmp value null for below implementation.

String filePath = "file:///data/user/0/com.app.doctor/cache/com.ciscowebex.sdk.downloads/thumb-c0d0e7e6-0e90-43e6-b36a-2ad684b0f5fd-file_example_TIFF_1MB1402900616ORIGINAL_Aircraft_Rescue_Firefighting_training.tiff";

Bitmap bmp = TiffBitmapFactory.decodePath(filePath);
imageView.setImageBitmap(bmp);

kindly help me with this.

Beyka commented 2 years ago

Sorry for long replay) could you provide some logs? Also why path to file is so strange? do you use content provider to get file?