Commit Graph

5847 Commits

Author SHA1 Message Date
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
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
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
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
homm
58484db509 close files after loading for some file types 2017-03-12 20:05:20 +00:00
homm
091d0c400c close fp if it was opened in ImageFile constructor 2017-03-12 20:05:20 +00:00
homm
88ec0bb52f close file in case of failures 2017-03-12 20:05:20 +00:00
wiredfool
8b649d6e79 Update CHANGES.rst [ci skip] 2017-03-12 17:21:35 +00:00
wiredfool
c9f54c98a5 Merge pull request #1938 from wiredfool/python-decoder
Pure Python Decoders - fix for MSP decoding
2017-03-12 17:20:19 +00:00
wiredfool
be39c79c1b Update CHANGES.rst [ci skip] 2017-03-12 17:17:54 +00:00
wiredfool
c63e183fac Merge pull request #2374 from radarhere/gif
Refactored GifImagePlugin code
2017-03-12 17:16:29 +00:00
wiredfool
184d4f8dc0 Test encode registry 2017-03-11 21:27:07 +00:00
wiredfool
d718d351b1 Testing empty extents 2017-03-11 16:43:44 +00:00