Commit Graph

1136 Commits

Author SHA1 Message Date
wiredfool
859ce84976 Version check rather than try/except 2016-01-03 13:04:04 -08:00
wiredfool
21beef192a Fixing test failures on python 2.6/windows 2016-01-03 12:23:39 -08:00
wiredfool
7a4ff8e66c Forcing this one to pass 2016-01-01 15:57:42 +00:00
wiredfool
e5076a3278 Merge pull request #1620 from wiredfool/issue_1597
Partial fix for #1597
2016-01-01 07:47:58 -08:00
wiredfool
36d4f5a9b4 Tests for permitted libtiff metadata 2016-01-01 05:30:40 -08:00
wiredfool
a6c1331fdd Rolling back exif support to pre-3.0 format 2016-01-01 04:14:24 -08:00
Hugo
c0b3fe77d7 Merge pull request #1621 from radarhere/health
Flake8 fixes
2015-12-31 15:18:31 +02:00
Hugo
55a037c50b Merge pull request #1531 from wiredfool/exif_div_zero
Divide by zero in Exif
2015-12-31 15:15:20 +02:00
Andrew Murray
a83bcec169 Flake8 fixes 2015-12-31 07:27:27 +11:00
wiredfool
9fa6634f4d Partial fix for #1597
Haven't excercized all of the metadata that we're allowing yet,
and there's clearly still something up with Arrays, as one
of them is still crashing and making it impossible to save a
palette with a libtiff image.
2015-12-30 07:54:14 -08:00
wiredfool
253bc038c5 Python 3.2, sigh 2015-12-30 00:45:48 +00:00
wiredfool
31428b7009 Py3 fixes 2015-12-29 23:56:47 +00:00
hugovk
d9c90bba91 Test passes for 2.9.0, fails for 3.0.0 2015-12-29 22:57:36 +00:00
wiredfool
3ac9396e8c Write round trip for rationals, including nan value 2015-12-29 22:00:36 +00:00
wiredfool
3dd4b39411 Namespace 2015-12-29 21:33:10 +00:00
wiredfool
5e7a5bf237 Limit rationals for expected values in round trip 2015-12-29 21:33:10 +00:00
wiredfool
8ed2d1ed02 Changing the type of the target values 2015-12-27 20:48:47 +00:00
wiredfool
722ee8240b Inherit from Rational instead of Fraction, some basic tests. Fixes Py2.6 2015-12-27 10:21:32 +00:00
wiredfool
deecbcd3a3 Added a rational class for TiffIFD that allows for 0/0 2015-12-27 10:21:31 +00:00
wiredfool
86ebe1eeb9 Merge pull request #1610 from radarhere/ttf
Removed unused file
2015-12-27 02:10:53 -08:00
Andrew Murray
a0d7282ea7 Removed unused file 2015-12-25 21:49:22 +11:00
Andrew Murray
416efb840b Clarified comment 2015-12-25 12:02:18 +11:00
Andrew Murray
afa4166a57 Updated deprecated asserts 2015-12-16 14:30:17 +11:00
Hugo
6005800396 Merge pull request #1594 from wiredfool/g4_attributes
Allow saving RowsPerStrip with libtiff.
2015-12-15 15:45:36 +02:00
wiredfool
436daee5e0 Merge pull request #1591 from radarhere/health
Health fixes
2015-12-14 21:00:09 +00:00
wiredfool
65ff8f9f5a Merge pull request #1578 from cartisan/numpy-conversion-for-hsv
Enabled conversion to numpy array for HSV images. #1559
2015-12-14 20:55:47 +00:00
wiredfool
3d5e395bb5 Merge pull request #1579 from hugovk/imagefont_getters
Test ImageFont getters
2015-12-14 20:48:03 +00:00
wiredfool
b68bb56b64 test for issue #1561 2015-12-14 20:24:01 +00:00
Andrew Murray
c27110ab56 Flake8 fixes 2015-12-10 21:34:02 +11:00
Andrew Murray
1c99b39239 Fixed redefined built-in 2015-12-10 21:34:02 +11:00
Andrew Murray
9176633d60 Specified exception type 2015-12-10 09:22:36 +11:00
Hugo
6e16168567 Merge pull request #1577 from radarhere/float
Changed arcs, chords and pie slices to use floats
2015-12-09 11:16:43 +02:00
Andrew Murray
8f9b3a7372 Changed arcs, chords and pie slices to use floats 2015-12-09 00:28:52 +11:00
Andrew Murray
ee82f7089c Changed assertTrue isinstance to assertIsInstance 2015-12-08 20:31:02 +11:00
Hugo
5f1a042293 Merge pull request #1576 from radarhere/imagedraw
Removed FIXME from ImageDraw test
2015-12-07 20:50:58 +02:00
hugovk
1110978fc7 Test another ImageFont getter 2015-12-07 20:44:03 +02:00
hugovk
1ae23a807f Test ImageFont getters 2015-12-07 20:24:57 +02:00
cartisan
8b76f557ce Enabled conversion to numpy array for HSV images. #1559 2015-12-07 17:40:42 +00:00
wiredfool
fb17bf3d20 Merge pull request #1478 from baumatron/pillow_fix_eps_gs_command
Fix command to invoke ghostscript for eps files.
2015-12-07 14:15:51 +00:00
wiredfool
2f75ee7e9f Merge pull request #1574 from hugovk/wiredfool-multiline_text-plus4
Consistent multiline spacing and tests, with extra space
2015-12-07 13:41:15 +00:00
Andrew Murray
f0944438ab Removed FIXME from ImageDraw test 2015-12-08 00:03:38 +11:00
wiredfool
51cd06685e Merge pull request #1556 from radarhere/unpack
Throw TypeError if no cursors were found in .cur file
2015-12-07 12:59:34 +00:00
wiredfool
bceb18baa2 Merge pull request #1555 from Nexuapex/master
ExtraSamples tag should be a SHORT, not a BYTE
2015-12-07 12:53:51 +00:00
hugovk
731d0b1b73 Default spacing of 4, update tests 2015-12-06 18:31:33 +02:00
hugovk
d52e58dbbd Merge remote-tracking branch 'upstream/master' into wiredfool-multiline_text 2015-12-06 18:05:25 +02:00
hugovk
c82b54b896 Update tests 2015-12-06 15:57:19 +02:00
Andrew Murray
806df2e7db Removed unused argument 2015-12-02 16:55:50 +11:00
Andrew Murray
407aa77db4 Removed unnecessary lambda 2015-12-02 16:49:30 +11:00
Andrew Murray
674515d568 Changed lines to be below 80 characters 2015-12-02 16:41:26 +11:00
Andrew Murray
4ab0cbb5ba Removed unused variable 2015-12-02 16:15:12 +11:00
Andrew Murray
d321177589 Removed undefined variable 2015-12-02 16:09:47 +11:00
John Calsbeek
b496f37e1f Add test for #1524. 2015-12-01 09:14:32 -08:00
Andrew Murray
0c3e224537 Throw TypeError if no cursors were found in .cur file 2015-11-26 19:56:41 +11:00
wiredfool
35296ca155 Merge pull request #1519 from mattip/master
test, fix missing 'version' key value in __array_interface__
2015-11-18 09:39:34 +00:00
wiredfool
c0b08068c8 Merge pull request #1534 from radarhere/shortlink
Removed shortlink
2015-11-18 09:29:39 +00:00
Andrew Murray
4d7b630b33 Catch OverflowError in SpiderImagePlugin 2015-11-18 01:18:01 +11:00
Hugo van Kemenade
a0393ee3a0 Merge pull request #1539 from wiredfool/issue_1526
Fix the definition of icc_profile in TiffTags
2015-11-16 10:23:41 +02:00
wiredfool
4883c4d202 image for test 2015-11-15 16:43:16 +00:00
wiredfool
f8a5ded0d6 Test for #1526, load binary tagged iccprofile 2015-11-15 16:41:49 +00:00
Andrew Murray
529d680aee Removed comment 2015-11-11 23:42:19 +11:00
Andrew Murray
03eadad5ef Removed shortlink 2015-11-11 23:25:55 +11:00
mattip
0ff05afa56 test, fix missing 'version' key value in __array_interface__ 2015-11-02 20:07:12 +02:00
Andrew Murray
9a2903bf5b Changed 32 bit to 32-bit and 64 bit to 64-bit 2015-10-15 00:49:03 +11:00
Andrew Murray
0eabe68882 Added test 2015-10-12 23:13:45 +11:00
Andrew Murray
6bd7e7f02d Removed trailing whitespace 2015-10-11 21:24:35 +11:00
Hugo van Kemenade
25d03d6fce Merge pull request #1465 from wiredfool/bug-iccprofile
Add tag info for iccprofile, fixes #1462
2015-10-05 15:23:16 +03:00
wiredfool
23631302a9 Merge pull request #1467 from wiredfool/sampleformat
Flatten sampleformat to initial value, fixes #1466
2015-10-05 01:43:03 -07:00
wiredfool
543238849c Merge pull request #1464 from wiredfool/pathlib_temporaryfile
Fix handling of pathlib in save. Fixes #1460
2015-10-05 01:41:58 -07:00
hugovk
0e23d74173 Make tests more robust re: https://github.com/python-pillow/Pillow/issues/947#issuecomment-61641247 2015-10-05 10:27:23 +03:00
wiredfool
5e670e9b70 using test file with known license 2015-10-03 17:04:40 -07:00
wiredfool
7206be535e Flatten sampleformat to initial value, fixes #1466 2015-10-03 22:57:44 +01:00
wiredfool
157df44e51 Add tag info for iccprofile, fixes #1462 2015-10-03 16:35:53 +01:00
wiredfool
d965257616 Fix handling of pathlib in save. Fixes #1460 2015-10-03 08:12:44 +01:00
wiredfool
5ee9dd6f88 Fixing test on py 2.x 2015-10-02 03:03:15 -07:00
wiredfool
eb80824f51 Have to guard the ctypes.wintypes import 2015-10-01 14:54:32 +01:00
wiredfool
7a48d7658d removing the print 2015-10-01 14:54:32 +01:00
wiredfool
3228860514 Test for PR#1431, following [nu744] 2015-10-01 14:54:32 +01:00
wiredfool
92f5133469 Merge pull request #1445 from radarhere/pdf
Added PDF multipage saving
2015-10-01 05:33:11 -07:00
wiredfool
89ccf66ff7 Merge pull request #1343 from radarhere/deprecated
Removed deprecated code
2015-09-29 15:38:34 +01:00
Andrew Murray
4e31fb745f Added PDF multipage saving 2015-09-29 22:51:52 +10:00
wiredfool
388b2dab0c Merge pull request #1428 from uploadcare/load-broken-images
Load more broken images
2015-09-24 21:53:36 +01:00
homm
62a52a7a34 replace broken image 2015-09-23 00:33:03 +03:00
wiredfool
eaabb21b4a Merge pull request #1429 from ericfrederich/conversion
use png when converting from a QImage to a Pillow Image
2015-09-20 11:04:16 +01:00
wiredfool
68dd0ac2cc Merge pull request #1430 from ericfrederich/qt_align
bug fix: Qt wants data aligned to 32 bits
2015-09-20 10:41:38 +01:00
wiredfool
de34547f33 Merge pull request #1419 from wiredfool/tiff-ifd-rewrite
Tiff ImageFileDirectory Rewrite
2015-09-20 10:36:19 +01:00
Andrew Murray
71c95c8e5f Restored deprecated methods with errors instead 2015-09-19 21:36:19 +10:00
Andrew Murray
5835c1e09c Added deprecation warning to ImageDraw setfont method, as specified in docs 2015-09-19 21:12:10 +10:00
Andrew Murray
baa5143394 Removed methods deprecated in 2.0 2015-09-19 21:06:12 +10:00
Andrew Murray
47366692d9 Removed ImagePalette methods, deprecated in 2.6 2015-09-19 21:06:12 +10:00
Andrew Murray
a3107af63f Removed ImageFileIO, deprecated since PIL 2015-09-19 21:06:12 +10:00
Andrew Murray
3841a11fb5 Removed ImageFont filename param, deprecated in 2.1 2015-09-19 21:06:12 +10:00
Eric L Frederich
e67a4c4270 preserve alpha during conversion; add tests; found bug and added TODOs 2015-09-18 16:15:24 -04:00
Eric L Frederich
86e775daa3 bug fix: Qt wants data aligned to 32 bits
Images in Qt show up incorrectly if each line is not aligned to 32 bits.

It is pretty common for an image's lines to be 32-bit alinged by chance.
Obviously any 32-bit image will not have any problem.
For the bug to manifest itself you'd need...
* a 1-bit image whose width is not a multiple of 32
* an 8-bit image who width is not a multiple of 4

Testing more images now and added a 7x13 png test image
2015-09-18 16:07:35 -04:00
wiredfool
a38fb2d0c5 Merge pull request #1384 from radarhere/gifparams
GIF 89a and animation parameters
2015-09-18 14:41:45 +01:00
homm
f46d65d0a4 test for this 2015-09-15 20:12:16 +03:00
homm
0f87b1f125 suppress and check warning during tests 2015-09-15 04:07:02 +03:00
homm
9930b05a33 fix tiff exif loading in case when file is empty or ended 2015-09-15 04:06:51 +03:00
wiredfool
9286c9e460 Reenabling and fixing the former test_xyres_tiff test for integer resolutions 2015-09-14 05:10:27 -07:00
wiredfool
4adbc9735c Reorder load_* parameters to pass master tests 2015-09-14 04:35:09 -07:00
wiredfool
05348d4f8f Reenabling failing/crashing tests, with fixes 2015-09-14 03:03:24 -07:00