Remove old documentation about Pillow not linking jpeg, zlib

As of Pillow 3.0.0 this is fixed, so make Pillow 3 a requirement
This commit is contained in:
James R. Barlow
2016-02-16 14:29:31 -08:00
parent 60b2eb1455
commit a87aa71d85
2 changed files with 2 additions and 8 deletions
+1 -7
View File
@@ -122,17 +122,11 @@ Install or upgrade the required Homebrew packages, if any are missing::
brew install leptonica
brew install tesseract
It is also recommended that install Pillow and confirm it can read and write JPEG and PNG files::
Update the homebrew pip and install Pillow::
pip3 install --upgrade pip
pip3 install --upgrade pillow
Sometimes, the Python imaging library (Pillow) can end up being compiled and installed without support for JPEG and PNG files. (Arguably, this is an unfixed bug in Pillow's installer.) To confirm that Pillow is compiled correctly and can access JPEG and PNG files, try this command::
python3 -c "from PIL import Image; im = Image.new('1', (1, 1)); im.save('test.png'); im.save('test.jpg')"
If you have trouble getting Pillow to access JPEG and PNG files, `review the installation instructions <https://pillow.readthedocs.org/installation.html>`__.
You can then install OCRmyPDF from PyPI::
pip3 install ocrmypdf
+1 -1
View File
@@ -218,7 +218,7 @@ setup(
],
install_requires=[
'ruffus>=2.6.3',
'Pillow>=2.4.0',
'Pillow>=3.0.0',
'reportlab>=3.1.44',
'PyPDF2>=1.25.1',
'img2pdf>=0.2.0',