Commit Graph

1935 Commits

Author SHA1 Message Date
Dvořák Václav
9be8d669f9 issue #2959: changes based on @hugovk's review 2018-01-31 00:25:04 +01:00
Metallicow
5e94cd0fc2 Trim trailing whitespace tests dir 2018-01-27 00:07:24 -06:00
Andrew Murray
5e0de38519 Removed duplicate line 2018-01-27 10:09:51 +11:00
Dvořák Václav
ede57b91e0 issue #2959: keep file open, add context manager, add methods to support writing, eliminate the passing of file or buffer 2018-01-26 19:07:43 +01:00
Dvořák Václav
78fe32a431 issue #2959: support streams, add some tests 2018-01-26 17:15:38 +01:00
Dvořák Václav
53ce9ec4fb issue #2959: fix PdfDict attribute access, text decoding, tests 2018-01-26 13:42:11 +01:00
Dvořák Václav
4d3b13fb08 issue #2959: improve Info setting and dumping 2018-01-26 12:11:10 +01:00
Hugo
797d67b9a3
Merge pull request #2974 from wiredfool/webp_leak
Fix memory leak when opening webp files
2018-01-25 10:51:23 +02:00
Dvořák Václav
f9566877f3 issue #2959: fix broken test 2018-01-25 01:19:25 +01:00
Dvořák Václav
95f5c8d4ff issue #2959: move pdfParser self tests to Tests directory 2018-01-25 01:12:32 +01:00
Dvořák Václav
84f87471f5 issue #2959: support io.BytesIO objects 2018-01-25 00:44:59 +01:00
Dvořák Václav
13fe1a5ba7 issue #2959: text string decoding, support for Info dict, updated tests 2018-01-25 00:20:18 +01:00
Eric Soroos
1b06cbc3bb run webp leak check by default 2018-01-24 14:02:58 +00:00
Eric Soroos
379d3ccce2 Fixed up the webp leak check 2018-01-24 14:02:33 +00:00
wiredfool
9a19858fb7
Merge pull request #2938 from uploadcare/tiff-with-optional-channels
Tiff with optional channels
2018-01-24 11:10:18 +00:00
wiredfool
d04380afb6
Merge pull request #2961 from radarhere/assert
Changed assert statements to unittest calls
2018-01-24 10:54:18 +00:00
Dvořák Václav
cfacf8bff8 issue #2959: fix test for nonexistent PDF file 2018-01-24 02:39:15 +01:00
Dvořák Václav
a187a361cb issue #2959: add tests and fixes, text encoding, remove remnants of text writing from PdfImagePlugin 2018-01-24 02:28:39 +01:00
Dvořák Václav
ba211ff549 issue #2959: pdfParser selftest 2018-01-22 21:35:55 +01:00
Andrew Murray
cca94054aa Changed assert statements to unittest calls 2018-01-17 22:01:37 +11:00
Andrew Murray
4afed260dc Updated freetype to 2.9 2018-01-13 06:26:42 +11:00
Alexander
dc127273f4 Add RGBXX RGBXXX YCbCrXX YCbCrXXX rawmodes for TIFFs 2018-01-07 17:23:05 +03:00
Andrew Murray
30b2ddd070 Removed duplicate imports 2018-01-04 15:40:46 +11:00
Andrew Murray
62b2bdf909 Removed unused imports 2018-01-04 14:56:18 +11:00
Andrew Murray
1c60473488 Updated paths for src directory 2017-12-31 07:11:26 +11:00
Hugo
cc35bd70bc No need to run coverage on dev machines 2017-12-28 14:49:47 +00:00
Hugo
7df920303c Remove nose-specific code 2017-12-28 14:48:19 +00:00
Hugo
b55ea4014e Calls pytest directly 2017-12-28 14:48:19 +00:00
hugovk
5592163564 pytest no longer supports EOL Python 3.3 2017-12-28 14:48:19 +00:00
hugovk
20d00c5fe9 Update test instructions 2017-12-28 14:48:19 +00:00
hugovk
e30433e4b2 Test testing with pytest 2017-12-28 14:48:19 +00:00
wiredfool
49bd3232e5
Merge pull request #2899 from wiredfool/pr_2882
Run all compressed tiffs through libtiff
2017-12-27 20:39:51 +00:00
wiredfool
ff13d184d8
Merge pull request #2902 from wiredfool/pr_2388
Add disposal option when saving GIFs
2017-12-27 12:15:00 +00:00
wiredfool
bbe8076d67
Merge pull request #2903 from radarhere/eps
Allow for an empty line in EPS header data
2017-12-27 12:13:54 +00:00
wiredfool
bd5f99f19d
Merge pull request #2898 from wiredfool/pr_2790
Add support for sRGB and cHRM chunks, permit sRGB when no iCCP chunk
2017-12-27 12:12:57 +00:00
Andrew Murray
e107ed6fcf Allow for an empty line in EPS header data 2017-12-24 21:12:48 +11:00
wiredfool
48260643d7 force range to a tuple, py3 2017-12-21 22:42:34 +00:00
wiredfool
378f74672c Added per-frame disposal, tests 2017-12-21 22:26:58 +00:00
linnil1
5b5d47863e Add dispose test 2017-12-21 22:06:59 +00:00
wiredfool
97ee3dd12b
Merge pull request #2583 from wiredfool/decompression_bomb_error
Decompression bomb error
2017-12-20 20:31:38 +00:00
Eric Soroos
768668c1d7 Added RGB*;16N Unpackers 2017-12-20 13:53:14 +00:00
Eric Soroos
e617d05b9e These tests/features now require libtiff 2017-12-20 12:22:28 +00:00
Eric Soroos
4b4f7d6a2c Refactor to use features 2017-12-20 12:21:33 +00:00
Eric Soroos
d698d522ef Added end to end tests in test_file_libtiff 2017-12-20 12:09:26 +00:00
Eric Soroos
4877552581 Read all compressed files through libtiff. 2017-12-20 11:55:40 +00:00
Eric Soroos
bec8f415be end to end test helper, more end to end tests for tiffs 2017-12-20 11:55:40 +00:00
Tomasz Jezierski
bc6683cecf tiff-colors-fix test adjust 2017-12-20 11:54:26 +00:00
Eric Soroos
a96ac321d5 merge error 2017-12-20 11:45:52 +00:00
Eric Soroos
25d961238c Added sRGB and cHRM chunks to PngInfo, added tests for #2782 2017-12-20 11:35:11 +00:00
Eric Soroos
1ea128c8a7 refactor out get_chunks 2017-12-20 11:33:22 +00:00
wiredfool
c4a91f05ef
Merge pull request #2894 from hugovk/avoid-random-noise-failure
Test: avoid random noise failure
2017-12-20 09:26:49 +00:00
wiredfool
1f749a88ee
Merge pull request #2896 from wiredfool/eps-test-arch
Bumped epsilon -- arch is showing 5.6 rather than <5
2017-12-19 19:39:12 +00:00
Eric Soroos
e5aa9d5f8b Bumped epsilon -- arch is showing 5.6 rather than <5 2017-12-19 16:20:36 +00:00
wiredfool
09c8b06f4c
Merge pull request #2890 from jdufresne/add-text-bool
Make PngImagePlugin.add_text() zip argument type bool
2017-12-19 15:50:01 +00:00
wiredfool
c94484ecab
Merge pull request #2880 from radarhere/webp
Updated libwebp to 0.6.1
2017-12-19 15:47:13 +00:00
Hugo
070e66fe7b flake8 2017-12-19 17:16:15 +02:00
Hugo
8adab0ec0d Noise effect: take five pixels, assert not all same 2017-12-19 17:12:58 +02:00
Hugo
11a2026f12 flake8 2017-12-19 15:12:02 +02:00
Hugo
c8eebc1dc7 Re-roll in case of identical noise 2017-12-19 15:06:43 +02:00
Jon Dufresne
c5a0d72c10 Remove unnecessary bool() calls throughout project
Can use truthy values in boolean expressions without first coercing to a
bool. Removes unnecessary call to bool().
2017-12-16 09:34:12 -08:00
Jon Dufresne
8844e2dd71 Make PngImagePlugin.add_text() zip argument type bool
Always used as a bool, but was previously defined as 0/1. Use modern
idiomatic Python by using the bool type for bool arguments.
2017-12-16 09:13:45 -08:00
wiredfool
9ed4ea9e47
Merge pull request #2883 from uploadcare/tiff-wrong-bitspersample
Fix count of BITSPERSAMPLE items in broken TIFF files
2017-12-09 14:32:47 +00:00
wiredfool
588944c4a8
Merge pull request #2852 from wiredfool/issue_2837
Fillcolor parameter for Transform
2017-12-09 14:15:41 +00:00
wiredfool
dcb8d6f0b8
Merge pull request #2862 from wiredfool/difference-upload
Display differences for test failures
2017-12-09 14:14:25 +00:00
Alexander
ce151bcd72 add test for this case 2017-12-08 17:32:39 +03:00
Andrew Murray
97dba99805 Increased average pixel value difference to allow for libwebp 0.6.1 2017-12-07 00:46:56 +11:00
wiredfool
9a7fbdf323 disable intentionally failing tests 2017-11-25 11:01:33 +00:00
Eric Soroos
5a8fd796e9 install the difference engine 2017-11-17 19:47:05 +00:00
wiredfool
669fd6a600
Merge pull request #2835 from radarhere/generator
Added support for generators when using append_images for WEBP
2017-11-13 13:20:08 +00:00
Eric Soroos
fa9e9c2795 remove duplicate test 2017-11-13 11:59:26 +00:00
Eric Soroos
52b6894865 parameter name change 2017-11-13 11:59:12 +00:00
wiredfool
dce04b680b Pass in fill color to transform. 2017-11-11 16:47:31 +00:00
Andrew Murray
28119dd68d Changed test to use tempfile 2017-11-08 12:59:05 +11:00
Andrew Murray
bfaa0a1f07 Added support for generators when using append_images for WEBP 2017-11-06 20:06:50 +11:00
Andrew Murray
6c6f95f1d6 Removed unnecessary code 2017-11-06 19:54:15 +11:00
wiredfool
a3a9faf3a2
Merge pull request #2761 from monolithlabs/animated_webp
Add support for animated WebP files
2017-11-05 15:34:50 +00:00
wiredfool
52079cb297
Merge pull request #2805 from ixio/fix-#2804
Fix #2804: sets encoderinfo for images when saving multi-page PDF
2017-11-05 15:18:22 +00:00
wiredfool
533c5dfd05
Merge pull request #2789 from jdufresne/olefile-optional
Allow the olefile dependency to be optional
2017-11-05 15:09:06 +00:00
wiredfool
f5e4338b86
Merge pull request #2813 from wiredfool/issue_2811
Permit LZW code lengths up to 12 bits in GIF decode
2017-11-05 15:02:41 +00:00
wiredfool
13d8499371
Merge pull request #2825 from wiredfool/fix_pcf_tests
Fix PCF/PILFont
2017-11-05 15:01:50 +00:00
Andrew Murray
bc255c97ff Added support for generators when using append_images 2017-11-04 10:46:15 +11:00
Eric Soroos
3f4abf6caa Fix/test for #2826, unchecked exception leading to null pointer dereference, segfault 2017-11-02 20:46:17 +00:00
Eric Soroos
b0b2009c58 Where is this failing on hello, world 2017-11-02 13:07:49 +00:00
Eric Soroos
ab61cedbdc added text size test 2017-11-02 13:07:49 +00:00
Eric Soroos
ebb0a491b6 test the accuracy of the font file conversion 2017-11-02 13:07:49 +00:00
Eric Soroos
7a5d215022 Remove Adobe Helvetica screen font, update Pcf font tests using freely available font 2017-11-02 13:07:49 +00:00
Eric Soroos
636e5ff1e9 Relaxing similarity on showpage test, Arch has rendering differences 2017-11-01 14:05:40 +00:00
Eric Soroos
fcabe1c08c Tests for issue #2811 2017-10-25 13:52:33 +00:00
Ixio
5dfe5f0fa6 Fix #2804 : sets encoderinfo for images when saving multi-page PDF 2017-10-19 13:30:34 +02:00
Andrew Murray
97662294f0 Added context manager support 2017-10-07 23:18:23 +11:00
Jon Dufresne
9175706300 Allow the olefile dependency to be optional
Support for plugins requiring olefile will not be loaded if it is not
installed. Allows library consumers to avoid installing this dependency
if they choose. Some library consumers have little interest in the
format support and would like to keep dependencies to a minimum.
2017-10-04 06:54:34 -07:00
hugovk
5524d806b4 Failing test for #2783 2017-10-04 11:09:52 +00:00
Jason Douglas
cf31e70735 Fixing a typo in comments 2017-10-03 08:05:20 -07:00
Jason Douglas
28bec69e98 - flake8 formatting fixes
- webp => WebP doc and comment changes
2017-10-01 15:23:18 -07:00
wiredfool
0d1e44dc2f Merge pull request #2769 from wiredfool/pr_2638
Update to #2638, add 16bit/rle support to SgiImageFile
2017-10-01 20:56:18 +01:00
wiredfool
c82f9fe1bb Merge pull request #2738 from uploadcare/block-storage
Block & array hybrid storage
2017-10-01 20:41:08 +01:00
wiredfool
3051178749 Merge pull request #1849 from radarhere/frames
Common seek frame position check
2017-10-01 20:20:30 +01:00
Christoph Gohlke
3ad73ff447 Fix ValueError: invalid version number '1.0.0rc1' 2017-09-30 22:15:28 -07:00
Andrew Murray
c8b65f4efd Added _min_frame property 2017-09-30 13:33:13 +10:00
Andrew Murray
f61b70aa8f Changed EOFError tests 2017-09-30 13:33:06 +10:00