Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting bitmap value null for decodePath #50

Open
Ramaraju1992 opened this issue Jul 27, 2021 · 1 comment
Open

getting bitmap value null for decodePath #50

Ramaraju1992 opened this issue Jul 27, 2021 · 1 comment

Comments

@Ramaraju1992
Copy link

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
Copy link
Owner

Beyka commented Mar 13, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants