blob: 2e5d4052bde900f3687d272f740e03b468b69902 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
The following projects show the use of the Ghostscript API
in a Python environment. The file gsapi.py contains the
API methods and they have the same names and usage as described
in the Ghostscript API documentation.
If you are working in a Linux based system, _libgs in gsapi.py is specified to
use libgs.so . If you are working on Windows, you will be using either gpddll32.dll
or gpdldll64.dll. You will need to build the appropriate library with the ghostscript
build process.
The file examples.py demonstrates several examples using the gsapi methods.
These include, text extraction, object dependent color conversion, distillation,
running of multiple files with the same GhostPDL instance and feeding
chunks of data to the interpreter.
|