Skip to content

Commit

Permalink
Merge pull request #6822 from radarhere/libtiff
Browse files Browse the repository at this point in the history
Updated libtiff to 4.5.0
  • Loading branch information
hugovk committed Dec 24, 2022
2 parents 8bd5fbf + 426ac9c commit 2ba0c5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/installation.rst
Expand Up @@ -143,7 +143,7 @@ Many of Pillow's features require external libraries:

* **libtiff** provides compressed TIFF functionality

* Pillow has been tested with libtiff versions **3.x** and **4.0-4.4**
* Pillow has been tested with libtiff versions **3.x** and **4.0-4.5**

* **libfreetype** provides type related services

Expand Down
12 changes: 4 additions & 8 deletions winbuild/build_prepare.py
Expand Up @@ -200,15 +200,11 @@ def cmd_msbuild(
"libs": [r"output\release-static\{architecture}\lib\*.lib"],
},
"libtiff": {
"url": "https://download.osgeo.org/libtiff/tiff-4.4.0.tar.gz",
"filename": "tiff-4.4.0.tar.gz",
"dir": "tiff-4.4.0",
"license": "COPYRIGHT",
"url": "https://download.osgeo.org/libtiff/tiff-4.5.0.tar.gz",
"filename": "tiff-4.5.0.tar.gz",
"dir": "tiff-4.5.0",
"license": "LICENSE.md",
"patch": {
r"cmake\LZMACodec.cmake": {
# fix typo
"${{LZMA_FOUND}}": "${{LIBLZMA_FOUND}}",
},
r"libtiff\tif_lzma.c": {
# link against liblzma.lib
"#ifdef LZMA_SUPPORT": '#ifdef LZMA_SUPPORT\n#pragma comment(lib, "liblzma.lib")', # noqa: E501
Expand Down

0 comments on commit 2ba0c5e

Please sign in to comment.