Skip to content

Conversation

@radarhere
Copy link
Member

libtiff takes priority over tiff on Windows and macOS

Pillow/setup.py

Lines 757 to 762 in 2954964

if _find_library_file(self, "tiff"):
feature.set("tiff", "tiff")
if sys.platform in ["win32", "darwin"] and _find_library_file(
self, "libtiff"
):
feature.set("tiff", "libtiff")

This rearranges the code so that if it is found, we skip searching for tiff.

@hugovk hugovk merged commit 0450f99 into python-pillow:main Jun 25, 2025
70 checks passed
@radarhere radarhere deleted the tiff branch June 25, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants