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

TiffConverter return false. #37

Open
ravikumar5955 opened this issue Jan 2, 2019 · 3 comments
Open

TiffConverter return false. #37

ravikumar5955 opened this issue Jan 2, 2019 · 3 comments

Comments

@ravikumar5955
Copy link

ravikumar5955 commented Jan 2, 2019

The TiffConverter retuns false. I have provided the input bmp path and output tiff path . and i get 8-byte image in the destination folder. where as the bmp file is around
300kb.

@jfacoustic
Copy link

I'm having the same issue with converting to PNG.

@jfacoustic
Copy link

Ahah! I was being stupid. At least for me, I forgot to ask the user for file system permissions. I just added to my Main Activity's onCreate method.

ActivityCompat.requestPermissions(this, arrayOf(android.Manifest.permission.READ_EXTERNAL_STORAGE, android.Manifest.permission.WRITE_EXTERNAL_STORAGE), 1)

@jfacoustic
Copy link

@ravikumar5955 If it's still relevant to you, try this out.

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