Commit Graph

5806 Commits

Author SHA1 Message Date
Hugo
926a778d40 Fix for file with DPI in EXIF but not metadata, and XResolution is an int rather than tuple 2017-04-20 03:51:47 -07:00
Hugo
e7f156c909 Remove broken downloads badge
Let's remove the downloads badge as it's broken and showing 0 downloads/month.

See also https://github.com/python-pillow/Pillow/issues/2396 and https://github.com/badges/shields/issues/716.

[CI skip]
2017-04-19 03:10:47 -07:00
Bjorn
686b6bd282 Add missing colon in :command:... 2017-04-19 03:10:36 -07:00
wiredfool
38eff74004 4.1.0 version bump 2017-04-04 11:10:22 -07:00
wiredfool
a3164dc349 Merge pull request #2474 from python-pillow/docs-typos
Docs typos
2017-04-04 09:50:09 +01:00
wiredfool
890af53428 Still old version 2017-04-04 09:49:58 +01:00
wiredfool
9207d71f30 Merge pull request #2475 from wiredfool/pr_2032
Added non-exclusive fd for test for #2330
2017-04-04 09:14:19 +01:00
wiredfool
f95c158933 added non-exclusive fd for test 2017-04-04 00:27:20 -07:00
Hugo
8aecfeea65 Typos
[CI skip]
2017-04-04 09:38:00 +03:00
Hugo
4a908271af Escape asterisk, update name
[CI skip]
2017-04-04 08:55:36 +03:00
wiredfool
fa237bdcb3 Merge pull request #2473 from wiredfool/release-notes
Release notes/Docs 4.1.0
2017-04-03 23:34:50 +01:00
wiredfool
ca76dfd2f2 Update CHANGES.rst [ci skip] 2017-04-03 23:33:18 +01:00
wiredfool
0834e9491e Merge pull request #2330 from wiredfool/pr_2032
Close files after loading when possible.
2017-04-03 23:32:06 +01:00
wiredfool
bfa80cd3b3 Merge pull request #2296 from wiredfool/issue_2268
Fix Access to be reloadable -- Issue #2268
2017-04-03 23:30:25 +01:00
Hugo
53df62647a DPI is a tuple (#2472)
* DPI is a tuple

* Some EXIF only contains an X resolution for DPI

* Refactor

* Test with no DPI in EXIF

* Handle EXIF with no DPI

* Created with: exiftool "-*resolution*"= photoshop-200dpi.jpg

* Test when not in EXIF, DPI==72,72

* Use X resolution for Y, default to 72,72 dpi

* Created with: exiftool -exif:ResolutionUnit=cm photoshop-200dpi.jpg

* Test for EXIF with dpcm instead of dpi

* Convert dpcm to dpi, and default to inches if unit unknown
2017-04-03 23:28:33 +01:00
wiredfool
275d2fa3cc compatibility matrix split 2017-04-03 13:54:37 -07:00
wiredfool
2030bf76f6 New Image methods 2017-04-03 13:21:50 -07:00
wiredfool
14ae66f63d Release notes for 4.1.0 2017-04-03 13:21:32 -07:00
wiredfool
fe0a33173b Give up on appveyor for now, disable test 2017-04-03 11:47:20 -07:00
wiredfool
1c7e8a18d5 fix for appveyor environment? 2017-04-03 11:23:21 -07:00
wiredfool
06b61f4e5b close the mmap when closing the image #2194 2017-04-03 08:06:59 -07:00
wiredfool
db338ca19a open file check for windows, on jpeg where we don't mmap the file 2017-04-03 08:06:59 -07:00
wiredfool
86c1704646 add _close_exclusive_fp_after_load flag 2017-04-03 08:06:58 -07:00
wiredfool
2152b26515 Update CHANGES.rst [ci skip] 2017-03-29 21:31:34 +01:00
wiredfool
977f319234 Merge pull request #2449 from hugovk/dpi-from-exif
If DPI isn't in JPEG header, fetch from EXIF
2017-03-29 21:24:46 +01:00
wiredfool
6ee13c6d7c Merge pull request #2468 from radarhere/winbuild
Removed winbuild checksum verification
2017-03-29 21:23:09 +01:00
wiredfool
e70e167836 Merge pull request #2469 from cgohlke/patch-3
Git: Set ContainerIO test file as binary
2017-03-29 21:21:09 +01:00
Andrew Murray
7ea1960755 Corrected libtiff URL 2017-03-27 20:04:42 +11:00
Christoph Gohlke
40e604c743 Set ContainerIO test file as binary 2017-03-26 23:30:05 -07:00
Andrew Murray
78754327c5 Removed winbuild checksum verification 2017-03-27 09:08:16 +11:00
Hugo
c6d49e9b27 Merge pull request #2459 from radarhere/tkinter
Fixed scripts import of tkinter/Tkinter
2017-03-26 12:12:52 +03:00
Hugo
f60e7851df Merge pull request #2462 from radarhere/imagequant
Updated libimagequant to 2.9.0
2017-03-25 17:24:28 +02:00
Hugo
1d43b6ce6e Merge pull request #2461 from radarhere/libtiff
Updated libtiff to 4.0.7
2017-03-25 17:24:08 +02:00
Andrew Murray
76907f2a2c Updated libimagequant to 2.9.0 2017-03-25 23:14:14 +11:00
Andrew Murray
298d20a082 Updated libtiff to 4.0.7 2017-03-25 23:13:00 +11:00
Andrew Murray
51f5a0123c Fixed scripts import of tkinter/Tkinter 2017-03-24 19:42:58 +11:00
Eric Soroos
6c1f923368 fixed test on python27 OMM 2017-03-22 21:20:37 +00:00
wiredfool
878881b1b9 Fix Access to be reloaded if the python interpreter is restarted when embedded. Fixes #2268. 2017-03-22 21:20:37 +00:00
wiredfool
f5a74e1862 Update CHANGES.rst [ci skip] 2017-03-22 21:19:10 +00:00
wiredfool
9e2653c155 Merge pull request #2455 from cgohlke/patch-1
Remove superfluous import of FixTk
2017-03-22 21:18:27 +00:00
wiredfool
167b2fec72 Merge pull request #2456 from cgohlke/patch-2
Fix import of tkinter/Tkinter
2017-03-22 21:17:46 +00:00
Christoph Gohlke
c6dc1f2878 Fix import of tkinter/Tkinter
Do not try to import the `tkinter` module on Python 2.x. `tkinter` is part of the `tkinter3000` package (Widget Construction Kit for Tkinter).
2017-03-22 10:32:42 -07:00
Christoph Gohlke
140c4b54c0 Remove superfluous import of FixTk
The `_imaging` module does not link against libtcl/libtk.
`FixTk` is imported by `import Tkinter` if necessary.
The `FixTk` module is for Python 2.x on Windows only.
2017-03-22 10:15:29 -07:00
wiredfool
900c5e5bf2 added unix test for fd leak 2017-03-14 23:17:22 +00:00
wiredfool
e4e0e0d2bf Adjusted test to match expected behavior 2017-03-14 23:17:22 +00:00
Marcus Brinkmann
e8122600f6 Test for: Close file handle in TiffImagePlugin when image is closed. 2017-03-14 23:17:22 +00:00
Marcus Brinkmann
5bdf1e4998 Test for libtiff, n_frames and seek. 2017-03-14 23:17:22 +00:00
wiredfool
b69b70198f Closing only single frame TIFF images 2017-03-14 23:17:22 +00:00
Hugo
07a9620959 If DPI isn't in JPEG header, fetch from EXIF 2017-03-14 11:49:10 +02:00
Hugo
92acfca46f Test getting DPI from EXIF 2017-03-14 11:26:11 +02:00