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
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
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
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
Hugo
92acfca46f
Test getting DPI from EXIF
2017-03-14 11:26:11 +02: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
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
wiredfool
382833061e
Trigger set_as_raw error
2017-03-11 16:30:28 +00:00
wiredfool
d70de6eb2d
UnitTest PyDecoder
2017-03-11 15:35:03 +00:00
wiredfool
38f43c1e5f
review lint
2017-03-11 13:50:19 +00:00
wiredfool
7fe29ec1c3
Added more additional files
2017-03-11 13:50:19 +00:00
Hugo
069ad8cbb0
Assert some pixel values
2017-03-11 13:50:19 +00:00
Hugo
8840f2b0fb
Remove redundant assert and message
2017-03-11 13:50:19 +00:00
hugovk
38c6771be0
Load MSP files to test MSP decoder
2017-03-11 13:50:19 +00:00
hugovk
98b19a9f68
Test Windows v2 MSP files
2017-03-11 13:50:19 +00:00
hugovk
e44773c76c
Test with bad checksum
2017-03-11 13:50:19 +00:00
hugovk
cac235bbd6
Created by forcing Pillow to save with checksum=0
2017-03-11 13:50:19 +00:00
wiredfool
f72ceda7c6
version 1 pickle for x-verson compatibility
2017-03-08 01:35:15 -08:00
wiredfool
4483dfbcb9
py3, pep8
2017-03-08 01:35:15 -08:00
wiredfool
1428e4140a
Test for identical handling of getheader/getdata
2017-03-08 01:35:15 -08:00
wiredfool
51b46e00c2
Refactor out passed in palette handling, add ImagePalette as an option, document palette format
2017-03-08 01:35:15 -08:00
wiredfool
6559674032
Test passing in an I mode image
2017-03-08 01:35:15 -08:00
wiredfool
b7689627e8
Add tests for passing in a separate palette while saving a gif
2017-03-08 01:35:15 -08:00
Andrew Murray
9a36a51916
Test from #2375 , 0ebb4cd1c0
2017-03-08 01:35:15 -08:00
Andrew Murray
af57ff8d45
Simplified code
2017-03-08 19:41:18 +11:00
Andrew Murray
bc8cd5fabf
Added test
2017-03-08 19:41:18 +11:00
wiredfool
c0ca5c184d
Merge pull request #2443 from hugovk/test-containerio
...
Test ContainerIO for correctness
2017-03-06 18:54:38 +00:00
wiredfool
9f88a55fa3
Merge pull request #2442 from hugovk/test-xvthumb
...
Test XVThumbImagePlugin for correctness
2017-03-06 18:53:58 +00:00
wiredfool
1a8f88986d
Merge pull request #2441 from hugovk/test-bufrstub
...
Test BufrStubImagePlugin for correctness
2017-03-06 18:53:13 +00:00
Hugo
3e6d867ae8
Compare to a Hopper image with a similar XV palette
2017-03-06 17:33:47 +02:00
hugovk
d69e252eb8
Remove unnecessary lambda
2017-03-05 09:14:44 +02:00
hugovk
83252ca4b1
Test ContainerIO for correctness
2017-03-05 00:46:30 +02:00
hugovk
a03a6e2049
Test unexpected EOF
2017-03-04 23:33:43 +02:00
hugovk
dc3233d52c
Created by editing hopper.p7 in a text editor
2017-03-04 23:31:49 +02:00
hugovk
052905bf5c
Remove unnecessary lambda
2017-03-04 23:19:41 +02:00
hugovk
c79204bf08
Test XVThumbImagePlugin for correctness
2017-03-04 19:54:06 +02:00
hugovk
7371e813f6
pngtopam hopper.png | pamtoxvmini > hopper.p7
2017-03-04 19:52:49 +02:00
hugovk
35e6cb1d09
Test BufrStubImagePlugin for correctness
2017-03-04 16:35:54 +02:00
hugovk
f09427c8bd
From http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2017030406/
2017-03-04 16:25:28 +02:00