Use Pdftron library

499 Views Asked by At

I trying to use Pdftron api in my python project but I can't add library in the project. I read all document in pdftron site for python in the end I can't. please help.

1

There are 1 best solutions below

2
On

Currently you have to build your own Python3 bindings. Following this guide, it typically takes ~15 minutes to generate your bindings. https://github.com/PDFTron/PDFNetWrappers#linux

Once created, you can look at our any of our Python samples to see how to load PDFNet. https://github.com/PDFTron/PDFNetWrappers/tree/master/Samples/AddImageTest/PYTHON https://github.com/PDFTron/PDFNetWrappers/blob/master/Samples/AddImageTest/PYTHON/RunTest.sh https://github.com/PDFTron/PDFNetWrappers/blob/master/Samples/AddImageTest/PYTHON/AddImageTest.py