I often needed to turn a PDF into an image, most of the time to have it printed on a thermal printer.
I was looking for simple and cross-platform methods.
This is an example that allows you to get an image with Windows / Android / iOs from a PDF file
NB. For Windows it is necessary to download a Jar, while for Android a library as indicated below.
I was looking for simple and cross-platform methods.
This is an example that allows you to get an image with Windows / Android / iOs from a PDF file
NB. For Windows it is necessary to download a Jar, while for Android a library as indicated below.
- B4J https://www.apache.org/dyn/closer.lua/pdfbox/2.0.26/pdfbox-app-2.0.26.jar
- B4A https://www.b4x.com/android/forum/threads/pdfrenderer-v0-10-beta-create-your-own-pdf-viewer.49103/
- B4i - It doesn't need any additional libraries
Attachments
Last edited: