|
META TOPICPARENT |
name="JulianSmith" |
C++ and Python APIs for MuPDF |
|
The C++ MuPDF API |
|
< < |
-
fz_ exceptions are converted into C++ exceptions.
- Functions and methods do not take
fz_context arguments. (Automatically-generated per-thread contexts are used internally.)
|
|
- Provides C++ functions that wrap most
fz_ and pdf_ functions.
- Provides C++ classes that wrap most
fz_ and pdf_ structs.
- Class methods provide access to most of the underlying C API functions (except for functions that don't take struct args such as
fz_strlcpy() ).
|
|
> > |
-
fz_ exceptions are converted into C++ exceptions.
- Functions and methods do not take
fz_context arguments. (Automatically-generated per-thread contexts are used internally.)
|
|
- Provides a small number of extensions beyond the basic C API:
- Some generated classes have extra support for iteration.
|
|
< < |
-
- Some custom methods/constructors.
|
> > |
-
- Some custom class methods and constructors.
|
|
The Python MuPDF API |
| [SWIG build files]
|
|
> > |
Artifex Licensing
Artifex offers a dual licensing model for MuPDF. Meaning we offer both commercial licenses or the GNU Affero General Public License (AGPL).
While Open Source software may be free to use, that does not mean it is free of obligation. To determine whether your intended use of MuPDF is suitable for the AGPL, please read the full text of the AGPL license agreement on the FSF web site .
With a commercial license from Artifex, you maintain full ownership and control over your products, while allowing you to distribute your products to customers as you wish. You are not obligated to share your proprietary source code and this saves you from having to conform to the requirements and restrictions of the AGPL. For more information, please see our licensing page , or contact our sales team . |
|
Please send any questions, comments or suggestions about this page to: julian.smith@artifex.com |