Commit Graph

6293 Commits

Author SHA1 Message Date
Hugo
a4bfe1a1d5 Test file with DPI in EXIF but not metadata, and XResolution is an int rather than tuple 2017-04-11 13:53:01 +03:00
Hugo
b2933dc1c4 Image from Simon Conseil with permission: https://github.com/python-pillow/Pillow/issues/2481#issuecomment-293215833 2017-04-11 13:45:48 +03:00
Hugo
ecf50e37a1 Merge pull request #2477 from thebjorn/patch-1
Add missing colon in :command:`...`
2017-04-05 09:14:22 +03:00
Bjorn
c7b7f5aa69 Add missing colon in :command:... 2017-04-04 23:10:22 +02: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
Andrew Murray
8cd70e74cc Set executable flag on scripts with shebang line 2017-03-31 19:43:19 +11:00
Andrew Murray
4dd7b94338 Return copy on Image crop if crop dimensions match Image dimensions 2017-03-31 13:02:56 +11: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
hugovk
ca3b975074 Run faster Dockers last so slower jobs don't hold up the build 2017-03-26 22:14:57 +03:00
hugovk
304f7e0637 Add Codecov 2017-03-26 17:21:13 +03:00
Hugo
c6d49e9b27 Merge pull request #2459 from radarhere/tkinter
Fixed scripts import of tkinter/Tkinter
2017-03-26 12:12:52 +03:00
hugovk
59d62e8696 Download and extract zip instead of cloning dependencies, no need for git history 2017-03-25 21:05:44 +02:00
hugovk
8f94bba44e Only clone the most recent commit to reduce download size 2017-03-25 18:41:18 +02: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