Alexander
83a5f6e5b5
change file mode
2018-03-30 10:09:22 +03:00
Alexander
e304a0d501
add tests, fix error messages
2018-03-30 09:57:54 +03:00
Alexander
aa929dda98
from_cube_file + test
2018-03-30 02:02:37 +03:00
Alexander
d2a5d1e44d
Add tests for some cases and fix bugs
2018-03-29 23:56:51 +03:00
Alexander
622749530b
Color3DLUT.generate
2018-03-29 17:26:21 +03:00
Alexander
506995d816
Tests for python API
2018-03-29 16:37:35 +03:00
storesource
79689977cf
Remove unnecessary files
2018-03-27 21:05:19 +05:30
storesource
e1229db810
Rename File
2018-03-27 20:07:06 +05:30
storesource
eb3efb2587
Added Files for Rotate Fill tests
2018-03-27 19:52:24 +05:30
storesource
975b7fced5
Split test for fill and no fill
...
Added a simpler image to compare
2018-03-27 19:48:35 +05:30
storesource
8af7c679ab
Added basic green file for rotate
...
Making changes according to review
2018-03-27 19:43:04 +05:30
storesource
fa85f112cd
Updating Test
...
changing from equal to similar
2018-03-27 19:31:58 +05:30
storesource
65c78266ad
RotateImage with fill: Added file for assertion
...
Fail First: add image for assertion
2018-03-27 18:55:34 +05:30
storesource
bea25dba30
Rotate with fill color unit test
...
check if hopper image equals hopper45withfill after rotate
2018-03-27 18:41:49 +05:30
Alexander
838a5cffe7
more tests and fixed bug for interpolate4
2018-03-26 23:17:17 +03:00
Alexander
5227c30561
typos
2018-03-26 22:33:22 +03:00
Alexander
5f0b7ee73e
More tests
2018-03-26 22:30:55 +03:00
Alexander
b30b2a280f
Tests. First part
2018-03-26 19:30:00 +03:00
wiredfool
0e9f07def9
Merge pull request #3042 from hugovk/3006-parser-feed
...
Fix TypeError for JPEG2000 parser feed
2018-03-21 07:56:23 +00:00
wiredfool
d173e81798
Merge pull request #3023 from kkopachev/issue-3022
...
Certain corrupted jpegs can result in no data read
2018-03-21 07:55:17 +00:00
wiredfool
f504cbe642
Merge pull request #3007 from jleclanche/feat/blp
...
Add support for BLP file format
2018-03-21 07:54:29 +00:00
wiredfool
c004b6beaa
Merge pull request #2998 from hugovk/simplify-version-checks
...
Simplify version checks
2018-03-21 07:50:51 +00:00
Andrew Murray
4a781d0013
Replaced MacOS with macOS
2018-03-19 19:38:17 +11:00
Andrew Murray
2123dd70fb
Allow append_images to set .icns scaled images
2018-03-19 19:38:07 +11:00
Hugo
3e6db78f75
Failing test for JPEG2000 parser feed
2018-03-18 11:13:33 +02:00
Hugo
ddc9e73b47
Merge pull request #2965 from vashek/master
...
Support appending to existing PDFs
2018-03-13 11:30:25 +02:00
hugovk
0b2a77e8e4
Use named version attribute
2018-03-12 10:37:18 +02:00
Jerome Leclanche
ef546cd303
blp: Remove images with unclear licenses
2018-03-12 09:48:13 +02:00
Konstantin Kopachev
5269bbc268
Add truncated jpeg tests
2018-03-07 21:31:51 -08:00
Jerome Leclanche
4d685ac0cd
blp: Add more test images
2018-03-06 18:16:26 +02:00
Jerome Leclanche
73d7fff16e
blp: Separate BLP1 and BLP2 decoding more cleanly
2018-03-06 18:16:26 +02:00
Jerome Leclanche
adaa703576
Add support for BLP file format
2018-03-06 18:16:26 +02:00
Andrew Murray
c13ccf13a1
Added missing whitespace
2018-03-06 19:53:07 +11:00
Andrew Murray
8116ee3738
Inline comment should start with '# '
2018-03-04 21:36:34 +11:00
Andrew Murray
f22f1628eb
At least two spaces before inline comment
2018-03-04 21:36:33 +11:00
Andrew Murray
2202196162
Flake8 blank line fixes
2018-03-04 21:36:33 +11:00
Dvořák Václav
928bea3002
issue #2959 : enhance test, mainly to trigger Appveyor re-build
2018-03-04 00:01:14 +01:00
Dvořák Václav
24ecfe315a
issue #2959 : fix wrong Parent of pre-existing Page objects when appending
2018-03-03 23:32:47 +01:00
Hugo
4936b447f0
Merge pull request #2985 from Metallicow/trim-trailing-space
...
Trim trailing whitespace
2018-02-27 12:00:15 +02:00
Dvořák Václav
4cea610f16
issue #2959 : oops. sorry. reverting accidental change that broke builds
2018-01-31 23:08:49 +01:00
Dvořák Václav
c15a0b2fce
issue #2959 : rename pdfParser.py to PdfParser.py
2018-01-31 00:35:55 +01:00
Dvořák Václav
9be8d669f9
issue #2959 : changes based on @hugovk's review
2018-01-31 00:25:04 +01:00
Hugo
a852c6186f
Basic WAL test
2018-01-29 17:18:06 +02:00
Hugo
8674f71907
File exported from hopper.png using Wally
2018-01-29 15:33:26 +02: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
4d3339b703
Added tests
2018-01-05 11:26:24 +11: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
Andrew Murray
6c61de97ad
Added GD tests
2017-12-30 19:31:33 +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
Andrew Murray
78c62727d3
Moved seek frame position check into ImageFile
2017-09-30 13:32:43 +10:00
wiredfool
efe98726cf
Merge pull request #2756 from hugovk/ResourceWarning-cherrypicked
...
ResourceWarning tests
2017-09-29 15:36:16 +01:00
wiredfool
fd8ee8437b
Merge pull request #2315 from radarhere/is_animated
...
If n_frames is known, then use when determining is_animated
2017-09-29 15:26:22 +01:00
Eric Soroos
7c629d7814
Added L;16/B pack functions
2017-09-29 13:41:39 +00:00
Eric Soroos
6816a9d4ce
Removed test for YCbCr != 3 channels
2017-09-29 13:34:49 +00:00