Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
C++ and Python APIs for MuPDF | ||||||||
Line: 25 to 25 | ||||||||
The Python MuPDF API
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Building the C++ and Python MuPDF APIs | ||||||||
Line: 37 to 37 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Build C++ and Python MuPDF APIs and run basic tests: | |||||||
> > | Build MuPDF shared library, C++ and Python MuPDF APIs, and run basic tests: | |||||||
git clone --recursive git://git.ghostscript.com/mupdf.git | ||||||||
Line: 82 to 82 | ||||||||
(This enables Python to find the mupdf module, and enables the system dynamic linker to find the shared libraries that implement the underlying C, C++ and Python MuPDF APIs.) | ||||||||
Changed: | ||||||||
< < | Minimal example Python code: | |||||||
> > | Minimal Python code that uses the mupdf module: | |||||||
import mupdf document = mupdf.Document('foo.pdf') | ||||||||
Changed: | ||||||||
< < | Detailed usage of the Python API can be found in: | |||||||
> > | A simple example Python test script (run by scripts/mupdfwrap.py -t ) is:
| |||||||
Added: | ||||||||
> > | More detailed usage of the Python API can be found in: | |||||||
| ||||||||
Line: 131 to 132 | ||||||||
platform/ c++/ include/ | ||||||||
Changed: | ||||||||
< < | mupdf/ [C++ MuPDF API] | |||||||
> > | mupdf/ [C++ MuPDF API header files] | |||||||
classes.h exceptions.h functions.h internal.h | ||||||||
Deleted: | ||||||||
< < |
Other internal generated files:
mupdf/ build/ platform/ c++/ | |||||||
implementation/ | ||||||||
Changed: | ||||||||
< < | *.cpp [MuPDF C++ implementation] | |||||||
> > | *.cpp [MuPDF C++ implementation files] | |||||||
python/ | ||||||||
Changed: | ||||||||
< < | [SWIG files] | |||||||
> > | [SWIG build files] | |||||||
|