Closed
Description
rdf.zip
github don't eat .tif file, unzip it and
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PIL.Image
>>> filename="rdf.tif"
>>> img = PIL.Image.open(filename)
>>> img.info
{'resolution': (72.0, 72.0), 'compression': 'tiff_lzw'}
>>> img.size
(518, 556)
>>> img.save("rdf.1.tif", format='TIFF')
Segmentation fault
$ pip show Pillow
---
Name: Pillow
Version: 3.0.0
Location: /usr/local/lib/python2.7/dist-packages
Requires:
$ dpkg -l|grep tiff
ii libtiff-tools 4.0.3-7ubuntu0.3 amd64 TIFF manipulation and conversion tools
ii libtiff4:amd64 3.9.7-2ubuntu1 amd64 Tag Image File Format (TIFF) library (old version)
ii libtiff5:amd64 4.0.3-7ubuntu0.3 amd64 Tag Image File Format (TIFF) library
ii libtiff5:i386 4.0.3-7ubuntu0.3 i386 Tag Image File Format (TIFF) library
ii libtiff5-dev:amd64 4.0.3-7ubuntu0.3 amd64 Tag Image File Format library (TIFF), development files
ii libtiffxx5:amd64 4.0.3-7ubuntu0.3 amd64 Tag Image File Format (TIFF) library -- C++ interface
uname -a
Linux playnet 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.2
DISTRIB_CODENAME=rafaela
DISTRIB_DESCRIPTION="Linux Mint 17.2 Rafaela"
And
Linux build64 2.6.32-042stab111.12 #1 SMP Thu Sep 17 11:38:20 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
$cat /etc/redhat-release
CentOS release 6.7 (Final)
$python -V
Python 2.6.6
Activity