Opened 2 years ago
Closed 2 years ago
#760 closed enhancement (fixed)
python3-pillow: enable libtiff support
Reported by: | andreaerdna | Owned by: | |
---|---|---|---|
Priority: | major | Component: | Package |
Version: | Keywords: | ||
Cc: |
Description
Please enable the libtiff support for python3-pillow module in order to fully handle tiff images.
Currently it seems not enabled:
Traceback (most recent call last): File "F:\QGIS\OSGEO4~1.10\qgis\apps\Python39\lib\site-packages\PIL\Image.py", line 432, in _getdecoder decoder = getattr(core, decoder_name + "_decoder") AttributeError: module 'PIL._imaging' has no attribute 'libtiff_decoder' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "F:\QGIS\OSGEO4~1.10\qgis\apps\Python39\lib\code.py", line 90, in runcode exec(code, self.locals) File "<input>", line 1, in <module> File "F:\QGIS\OSGEO4~1.10\qgis\apps\Python39\lib\site-packages\PIL\Image.py", line 2264, in save self._ensure_mutable() File "F:\QGIS\OSGEO4~1.10\qgis\apps\Python39\lib\site-packages\PIL\Image.py", line 626, in _ensure_mutable self._copy() File "F:\QGIS\OSGEO4~1.10\qgis\apps\Python39\lib\site-packages\PIL\Image.py", line 619, in _copy self.load() File "F:\QGIS\OSGEO4~1.10\qgis\apps\Python39\lib\site-packages\PIL\TiffImagePlugin.py", line 1180, in load return self._load_libtiff() File "F:\QGIS\OSGEO4~1.10\qgis\apps\Python39\lib\site-packages\PIL\TiffImagePlugin.py", line 1249, in _load_libtiff decoder = Image._getdecoder( File "F:\QGIS\OSGEO4~1.10\qgis\apps\Python39\lib\site-packages\PIL\Image.py", line 434, in _getdecoder raise OSError(f"decoder {decoder_name} not available") from e OSError: decoder libtiff not available
Note:
See TracTickets
for help on using tickets.
fixed in https://github.com/jef-n/OSGeo4W/commit/4347578bd652e310c0143a751a9c051c7e141c47