Hugo
ffcd945ae7
Test MRL save/load roundtrip
2017-05-30 18:02:20 +03:00
hugovk
4c86ef0b52
More morph tests
2017-05-30 18:02:20 +03:00
hugovk
04f28b691e
Test negate and fix a TypeError: list indices must be integers, not str
2017-05-30 18:02:20 +03:00
hugovk
761081b1e3
Test mirroring
2017-05-30 18:02:20 +03:00
Andrew Murray
2a5447691a
Replaced deprecated assert_
2017-05-30 19:55:35 +10:00
Andrew Murray
4b1784c9ad
Changed file opening to use with
2017-05-30 19:54:40 +10:00
Alexander
ad883961ac
fix hamming filter
2017-05-29 14:29:12 +03:00
Jon Dufresne
d244fbb299
Remove unnecessary calls to dict.keys()
...
iter(dict) is equivalent to iter(dict.keys()), so simply act on the dict
instead of adding the extra call.
Inspired by Lennart Regebro's PyCon 2017 presentation "Prehistoric
Patterns in Python". Available at:
https://www.youtube.com/watch?v=V5-JH23Vk0I
2017-05-28 09:55:38 -07:00
hugovk
9626e49c0b
Test a McIDAS area file
2017-05-28 16:11:16 +03:00
hugovk
c70eb8a128
flake8
2017-05-27 23:55:14 +03:00
hugovk
e4d6223c94
Remove deprecated code due for removal in Pillow 4.2 (per PR #2010 )
2017-05-27 23:20:03 +03:00
hugovk
e002207c5b
Remove function deprecated and warning since 3.0 (1 Oct 2015)
2017-05-27 21:55:42 +03:00
hugovk
d85dffd150
Remove functions deprecated and warning since 2.0 (15 Mar 2013) and raising exceptions since 3.0 (1 Oct 2015)
2017-05-27 21:52:43 +03:00
Hugo
08c72a1720
flake8
2017-05-16 10:33:38 +03:00
hugovk
206e316c0e
Test limits of arc/ellipse's start and end
2017-05-15 22:58:51 +03:00
hugovk
f1631e0d05
Test drawing a rectangle bigger than the image
2017-05-15 21:44:28 +03:00
hugovk
5871b7a5ba
Test drawing a wide "line" from one point to another just draws a single point
2017-05-15 21:32:54 +03:00
Hugo
ae9181f0a4
Test polygons in RGB and L modes
2017-05-15 18:24:12 +03:00
Hugo
e77c3b3eb2
Test ellipse in RGB and L modes
2017-05-15 18:23:00 +03:00
Hugo
de1f156fcd
Add test file
2017-05-15 18:13:36 +03:00
Hugo
d4a350cd79
Test chord in RGB and L modes
2017-05-15 18:04:33 +03:00
Hugo
3db1944762
Test drawing polygons with sloped and flat lines
2017-05-15 17:09:29 +03:00
Joshua Blum
a6874f01ac
Add test
2017-05-13 12:07:16 -04:00
wiredfool
f6f30b1c13
Merge pull request #2521 from adw1n/master
...
Fix for issue #2514 - error handling mistake in _webp.c
2017-05-13 14:24:51 +01:00
Hugo
2e492f8314
Merge pull request #2295 from radarhere/executable
...
Set executable flag on scripts with shebang line
2017-05-13 13:20:44 +03:00
Andrew Murray
80806d349f
Added append_images to PDF saving
2017-05-13 14:26:52 +10:00
adw1n
6ce11c9e8c
Added tests that call _webp.WebPEncode and _webp.WebPDecode with invalid number of arguments.
2017-05-12 17:11:58 +02:00
Andrew Murray
37b293f593
Flake8 fixes
2017-04-20 21:14:23 +10:00
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
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
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
Andrew Murray
8cd70e74cc
Set executable flag on scripts with shebang line
2017-03-31 19:43:19 +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
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
Hugo
b7d14b04b6
Test MicImagePlugin for correctness
2017-03-13 08:18:13 +02:00
Hugo
92c32ccf37
Created in Microsoft Image Composer 1.5 from hopper.png
2017-03-13 07:58:47 +02:00
Hugo
1242b77872
Fix typos
2017-03-13 07:58:24 +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
hugovk
5d2e4f48dd
Reorder tests to match others
2017-03-04 16:10:52 +02:00
hugovk
0abfa08ff7
Test GribStubImagePlugin for correctness
2017-03-04 13:07:48 +02:00
hugovk
adda419ad6
From http://www.globalmarinenet.com/free-grib-file-downloads/
2017-03-04 13:04:50 +02:00
wiredfool
5071ea2a0e
Merge pull request #2425 from radarhere/tests
...
Added tests
2017-03-03 15:44:33 +00:00
Andrew Murray
798fde57ca
Removed unused imports
2017-03-03 21:38:19 +11:00
Andrew Murray
0b93853fd8
Removed duplicate imports
2017-03-03 21:38:19 +11:00
Andrew Murray
24eb48e9e0
Removed unnecessary lambdas
2017-03-03 21:38:19 +11:00
Andrew Murray
4a6e8d7e92
Removed unnecessary pass
2017-03-03 21:38:19 +11:00
Andrew Murray
18fea70b51
Removed unused variable
2017-03-03 21:38:19 +11:00
Andrew Murray
1fcdf6a2db
Removed duplicate test
2017-03-03 21:38:19 +11:00
Andrew Murray
257bc8bd4f
Added tests
2017-03-03 19:45:55 +11:00
wiredfool
2fb9c1a337
Merge pull request #2431 from hugovk/test-hdf5stub
...
Test Hdf5StubImagePlugin for correctness
2017-03-01 09:15:53 +00:00
hugovk
0489e38a0e
Test Hdf5StubImagePlugin for correctness
2017-02-28 22:23:05 +02:00
hugovk
48f6be40cc
Created via http://stackoverflow.com/a/29736206/724176
2017-02-28 22:21:47 +02:00