domdrag

Results 14 comments of domdrag

Not fully related, but this might help someone. You might want to check out `pdfplumber` and/or `PyPDF2` packages. I originally wanted to use `PyMuPDF` for converting PDF to PNG in...

@wish-rohitv Yes I have. In the code, I used the pdfplumber's [to_image](https://github.com/jsvine/pdfplumber#creating-a-pageimage-with-to_image) function which converts a pdf page to an image. For Android deployment, you need to do some extra...

@wish-rohitv You don't need to add `pypdfium2` in your code, it is already part of the `pdfplumber`'s library. You just need to use `to_image` function to convert a pdf page...

@wish-rohitv Yes, make sure `libpdfium.so` is placed in the correct directory according to the buildozer.spec. If you will only uncomment the corresponding line, place the `libpdfium.so` in [your-project]/libs/android-v8/.

@wish-rohitv In directory where your `buildozer.spec` file exists, create `libs/android-v8/` directory and place corresponding `libpdfium.so` in there.

@wish-rohitv Include `pdfminer.six` module in requirements in buildozer.spec.

@wish-rohitv This one should be fixed by adding `charset_normalizer==2.1.1` in requirements in buildozer.spec.

@wish-rohitv I would assume you placed incorrect `.so` file inside `libs/android` directory. Make sure that your 32-bit `libpdfium.so` is placed inside `libs/android` directory and that you have `android.add_libs_armeabi = libs/android/*.so`...

@wish-rohitv Not sure what to tell you. Maybe you could try building apk for arm64-v8a and place the corresponding `libpdfium.so` in `libs/android-v8/` directory? Unless you have a super old phone,...