Skip to content

Commit 5cae163

Browse files
authored
Merge pull request #268 from JorjMcKie/master
upgrade to v1.14.11
2 parents 192c8de + cef351f commit 5cae163

File tree

14 files changed

+571
-721
lines changed

14 files changed

+571
-721
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ deploy:
5252
keep-history: false
5353
skip_cleanup: true
5454
local-dir: wheelhouse
55-
repo: JorjMcKie/PyMuPDF-wheels
55+
repo: pymupdf/PyMuPDF-wheels
5656
target-branch: $TRAVIS_OS_NAME
5757
on:
5858
repo: JorjMcKie/py-mupdf

PKG-INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 1.1
22
Name: PyMuPDF
3-
Version: 1.14.10
3+
Version: 1.14.11
44
Author: Ruikai Liu
55
Author-email: [email protected]
66
Maintainer: Jorj X. McKie
@@ -21,7 +21,7 @@ Description:
2121
Introduction
2222
============
2323

24-
This is **version 1.14.10 of PyMuPDF**, a Python binding for `MuPDF <http://mupdf.com/>`_ - "a lightweight PDF and XPS viewer".
24+
This is **version 1.14.11 of PyMuPDF**, a Python binding for `MuPDF <http://mupdf.com/>`_ - "a lightweight PDF and XPS viewer".
2525

2626
MuPDF can access files in PDF, XPS, OpenXPS, epub, comic and fiction book formats, and it is known for both, its top performance and high rendering quality.
2727

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# PyMuPDF 1.14.10
1+
# PyMuPDF 1.14.11
22

3-
![logo](https://github.com/rk700/PyMuPDF/blob/master/demo/pymupdf.jpg)
3+
![logo](https://github.com/pymupdf/PyMuPDF/blob/master/demo/pymupdf.jpg)
44

55
Release date: January 15, 2018
66

@@ -14,17 +14,17 @@ On **[PyPI](https://pypi.org/project/PyMuPDF)** since August 2016: [![](https://
1414

1515
# Introduction
1616

17-
This is **version 1.14.10 of PyMuPDF (formerly python-fitz)**, a Python binding with support for [MuPDF 1.14.x](http://mupdf.com/) - "a lightweight PDF, XPS, and E-book viewer".
17+
This is **version 1.14.11 of PyMuPDF (formerly python-fitz)**, a Python binding with support for [MuPDF 1.14.x](http://mupdf.com/) - "a lightweight PDF, XPS, and E-book viewer".
1818

1919
MuPDF can access files in PDF, XPS, OpenXPS, CBZ, EPUB and FB2 (e-books) formats, and it is known for its top performance and high rendering quality.
2020

2121
With PyMuPDF you therefore can access files with extensions like ".pdf", ".xps", ".oxps", ".cbz", ".fb2" or ".epub" from your Python scripts.
2222

23-
See the [Wiki](https://github.com/rk700/PyMuPDF/wiki) for more information, [news](https://github.com/rk700/PyMuPDF/wiki/Change-and-News-Log), release notes and usage recipes.
23+
See the [change log](https://pymupdf.readthedocs.io/en/latest/changes) and [usage recipes](https://pymupdf.readthedocs.io/en/latest/faq).
2424

2525
# Installation
2626

27-
For all **Windows** and (thanks to our user **@jbarlow83**!) for the major **Mac OSX** and **Linux** versions we offer [wheels](https://github.com/rk700/PyMuPDF/releases/latest). They can also be found in the [download section of PyPI](https://pypi.org/project/PyMuPDF/#files).
27+
For all **Windows** and (thanks to our user **@jbarlow83**!) for the major **Mac OSX** and **Linux** versions we offer [wheels](https://github.com/pymupdf/PyMuPDF/releases/latest). They can also be found in the [download section of PyPI](https://pypi.org/project/PyMuPDF/#files).
2828

2929
The platform tag for Mac OSX is `macosx_10_6_intel`.
3030

@@ -45,7 +45,7 @@ Once this is done, adjust directories in ``setup.py`` and run ``python setup.py
4545
The following sections contain further comments for some platforms.
4646

4747
## Ubuntu
48-
Our users (thanks to **@gileadslostson** and **@jbarlow83**!) have documented their MuPDF installation experiences from sources in this [Wiki page](https://github.com/rk700/PyMuPDF/wiki/Ubuntu-Installation-Experience).
48+
Our users (thanks to **@gileadslostson** and **@jbarlow83**!) have documented their MuPDF installation experiences from sources in this [Wiki page](https://github.com/pymupdf/PyMuPDF/wiki/Ubuntu-Installation-Experience).
4949

5050
## OSX
5151
First, install the MuPDF headers and libraries, which are provided by mupdf-tools: ``brew install mupdf-tools``.
@@ -58,7 +58,7 @@ Finally, please double check ``setup.py`` before building. Update ``include_dirs
5858

5959
In addition to wheels, this platform offers [pre-generated binaries](https://github.com/JorjMcKie/PyMuPDF-Optional-Material) in a ZIP format, which can be used without PIP.
6060

61-
If you are looking to make your own binary, consult this [Wiki page](https://github.com/rk700/PyMuPDF/wiki/Windows-Binaries-Generation). It explains how to use Visual Studio for generating MuPDF in quite some detail.
61+
If you are looking to make your own binary, consult this [Wiki page](https://github.com/pymupdf/PyMuPDF/wiki/Windows-Binaries-Generation). It explains how to use Visual Studio for generating MuPDF in quite some detail.
6262

6363
# Usage and Documentation
6464
For all document types you can render pages in raster (PNG) or vector (SVG) formats, extract text and images, and access meta information, links, annotations and bookmarks, as well as decrypt the document.
@@ -71,23 +71,23 @@ Other features include embedding vector images (SVG, PDF) such as logos or water
7171

7272
You can now also create and update **Form PDFs** and **form fields** with support for text, checkbox, listbox and combobox widgets.
7373

74-
To some degree, PyMuPDF can also be used as an [image converter](https://github.com/rk700/PyMuPDF/wiki/How-to-Convert-Images): it can read a broad range of input formats and can produce **Portable Network Graphics (PNG)**, **Portable Anymaps** (**PNM**, etc.), **Portable Arbitrary Maps (PAM)**, **Adobe Postscript** and **Adobe Photoshop** documents, making the use of other graphics packages obselete in many cases. But interfacing with e.g. PIL/Pillow for image input and output is easy as well.
74+
To some degree, PyMuPDF can also be used as an [image converter](https://github.com/pymupdf/PyMuPDF/wiki/How-to-Convert-Images): it can read a broad range of input formats and can produce **Portable Network Graphics (PNG)**, **Portable Anymaps** (**PNM**, etc.), **Portable Arbitrary Maps (PAM)**, **Adobe Postscript** and **Adobe Photoshop** documents, making the use of other graphics packages obselete in many cases. But interfacing with e.g. PIL/Pillow for image input and output is easy as well.
7575

76-
Have a look at the basic [demos](https://github.com/rk700/PyMuPDF/tree/master/demo), the [examples](https://github.com/rk700/PyMuPDF/tree/master/examples) (which contain complete, working programs), and the **recipes** section of our [Wiki](https://github.com/rk700/PyMuPDF/wiki) sidebar, which contains more than a dozen of guides in How-To-style.
76+
Have a look at the basic [demos](https://github.com/pymupdf/PyMuPDF/tree/master/demo), the [examples](https://github.com/pymupdf/PyMuPDF/tree/master/examples) (which contain complete, working programs), and the **recipes** section of our [Wiki](https://github.com/pymupdf/PyMuPDF/wiki) sidebar, which contains more than a dozen of guides in How-To-style.
7777

7878
Our **documentation**, written using Sphinx, is available in various formats from the following sources. It currently is a combination of a reference guide and a user manual. For a **quick start** look at the [tutorial](https://pymupdf.readthedocs.io/en/latest/tutorial/) and the [recipes](https://pymupdf.readthedocs.io/en/latest/faq/) chapters.
7979

8080
* You can view it online at [Read the Docs](https://pymupdf.readthedocs.io/). For **best quality downloads** you should however use the following links.
81-
* zipped [HTML](https://github.com/rk700/PyMuPDF/tree/master/doc/html.zip)
81+
* zipped [HTML](https://github.com/pymupdf/PyMuPDF/tree/master/doc/html.zip)
8282
* [Windows CHM](https://github.com/JorjMcKie/PyMuPDF-optional-material/tree/master/doc/PyMuPDF.chm)
83-
* [PDF](https://github.com/rk700/PyMuPDF/blob/master/doc/PyMuPDF.pdf)
83+
* [PDF](https://github.com/pymupdf/PyMuPDF/blob/master/doc/PyMuPDF.pdf)
8484

8585
# Earlier Versions
86-
Earlier versions are available in the [releases](https://github.com/rk700/PyMuPDF/releases) directory.
86+
Earlier versions are available in the [releases](https://github.com/pymupdf/PyMuPDF/releases) directory.
8787

8888
# License
8989
PyMuPDF is distributed under GNU GPL V3. Because you will implicitely also be using MuPDF, its license GNU AFFERO GPL V3 applies as well. Copies of both are included in this repository.
9090

9191
# Contact
9292

93-
Please submit questions, comments or issues [here](https://github.com/rk700/PyMuPDF/issues), or directly contact the authors via their e-mail addresses.
93+
Please submit questions, comments or issues [here](https://github.com/pymupdf/PyMuPDF/issues), or directly contact the authors via their e-mail addresses.

doc/PyMuPDF.pdf

9.87 KB
Binary file not shown.

doc/html.zip

12.9 KB
Binary file not shown.

fitz/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
% (fitz.VersionFitz, fitz.TOOLS.mupdf_version())
2020
)
2121

22-
import fitz.utils
2322

2423
# copy functions to their respective fitz classes
24+
import fitz.utils
2525

2626
# ------------------------------------------------------------------------------
2727
# Document
@@ -61,6 +61,7 @@
6161
fitz.Page.insertText = fitz.utils.insertText
6262
fitz.Page.searchFor = fitz.utils.searchFor
6363
fitz.Page.showPDFpage = fitz.utils.showPDFpage
64+
fitz.Page.insertImage = fitz.utils.insertImage
6465
fitz.Page.updateLink = fitz.utils.updateLink
6566
fitz.Page.newShape = lambda x: fitz.utils.Shape(x)
6667

0 commit comments

Comments
 (0)