Commit Graph

597 Commits

Author SHA1 Message Date
Chris Sinchok
70a50907c2 This patch allows a JPEG image to be saved with a specific qtables
value (in dictionary format).

Previously, this would throw a TypeError when checking if the qtables
value was actually a preset. By adding an isStringType check, we can
avoid this error.
2014-05-28 17:21:58 -05:00
hugovk
ae37743ac7 Both kinds of bounding box for arc, chord and pieslice. 2014-05-27 23:31:31 +03:00
hugovk
fd05e9c756 Test decompression bomb warnings 2014-05-27 12:40:52 +03:00
hugovk
14c8d8afe4 More spider tests 2014-05-26 21:00:20 +03:00
hugovk
268c419d7c Simple spider test. Test image created with Pillow. 2014-05-26 20:09:12 +03:00
hugovk
8f92562ec3 Remove old FIXME comment [CI skip] 2014-05-24 17:36:31 +03:00
hugovk
35336e5afd Test arc, chord, pieslice give TypeError when bounding box is [(x0, y0), (x1, y1)] 2014-05-24 17:31:37 +03:00
wiredfool
26b0f20763 Merge pull request #669 from wiredfool/tiff_compression
Use libtiff for writing any compressed tiff files
2014-05-24 13:16:57 +01:00
wiredfool
a91387e9dd Merge pull request #673 from wiredfool/pickling
Support for pickling Image objects
2014-05-24 13:14:42 +01:00
wiredfool
3f18e0adfe Merge pull request #619 from eliempje/master
Bugfix: EPS thumbnail failed
2014-05-24 13:09:25 +01:00
wiredfool
cd17b66541 Merge pull request #647 from hugovk/house
Fix for junk JPEG data
2014-05-23 00:06:09 +01:00
hugovk
0c1c620e30 Add test for #647. Fails without fix. 2014-05-21 14:33:28 +03:00
hugovk
aed2646dc2 pep8/pyflakes 2014-05-21 14:32:24 +03:00
hugovk
9c048e44d1 Permission to use and distribute (under the MIT license) this image as a testfile granted by cepreu2github: https://github.com/python-imaging/Pillow/issues/630#issuecomment-43674288 2014-05-21 14:30:05 +03:00
wiredfool
3b227d1a05 Merge from current master 2014-05-20 11:47:53 -07:00
wiredfool
413a086c09 Remove READ|WRITE_LIBTIFF guards for LZW/packbits compression tests 2014-05-20 10:13:58 -07:00
wiredfool
8d4a77a939 merge from master 2014-05-20 08:58:09 -07:00
hugovk
a59bc40c38 flake8 2014-05-17 23:33:50 +03:00
hugovk
55b1accb42 Add (failing) test for #664 2014-05-17 19:08:08 +03:00
eliempje
a712cec02b Added test and testfile for issue #302 2014-05-14 23:14:55 +02:00
hugovk
60b2570133 Test ImageDraw's bitmap() 2014-05-13 14:43:48 +03:00
hugovk
5b55cb72d3 Test experimental floodfill with a border 2014-05-12 23:33:05 +03:00
hugovk
961db29ff6 Test experimental floodfill() 2014-05-12 23:27:02 +03:00
hugovk
6b274b4c5e More ImageDraw tests. Some may need redoing after issues #367 and #463 are sorted. 2014-05-12 21:45:16 +03:00
hugovk
84c7d25606 Make sure bounding box in ints (for Py3) 2014-05-12 19:55:18 +03:00
hugovk
92eea7a9cc Tests for ImageDraw 2014-05-12 17:32:04 +03:00
hugovk
8cda5170c8 Fix bytes/str and reinstate test 2014-05-12 14:45:54 +03:00
hugovk
c37aa0a9ca Fix tostring()/tobytes() warning and reinstate test 2014-05-12 14:30:03 +03:00
hugovk
bcb8534dcf Temporarily remove 'failing' 1-mode PDF test 2014-05-11 17:46:13 +03:00
hugovk
741297326a Temporarily remove 'failing' 1-mode PDF test 2014-05-11 17:41:07 +03:00
hugovk
6520004289 Add monochrome PDF test 2014-05-11 17:35:49 +03:00
hugovk
8f1a00ae92 Temporarily remove failing P-mode PDF test 2014-05-11 17:28:41 +03:00
hugovk
3e2ff13aa8 Fix CMYK test 2014-05-11 17:23:10 +03:00
hugovk
c15601e0b0 Add some more pdf tests 2014-05-11 17:16:13 +03:00
hugovk
f165d2034f Simple test for saving to PDF 2014-05-11 09:01:09 +03:00
wiredfool
54173d2c67 Cherry-pick of portions of patch a500ca1393, many shortcut ops added, no functional changes 2014-05-09 21:36:15 -07:00
wiredfool
471a1420b9 Merge commit '329fd00d3fe2709c043c73e075da03b6d9729a2b' into cleanup 2014-05-09 20:53:06 -07:00
hugovk
5f195ae1a7 On Py3.4, a PendingDeprecationWarning comes from Coverage.py for using the imp module. This warning causes 3.4 builds to fail so ignore the warning from importing coverage. 2014-05-09 11:41:43 +03:00
hugovk
11227e5dc1 Fix test because thumbnail() retains aspect ratio 2014-05-08 23:01:44 +03:00
Hugo
7a9badf18e Fix tests so image2 is resized and thumbnailed 2014-05-08 22:44:46 +03:00
hugovk
23eb9e1de8 Thumbnail tests for https://github.com/python-imaging/Pillow/pull/619 2014-05-08 11:45:02 +03:00
hugovk
134295bfd4 Resize tests for https://github.com/python-imaging/Pillow/pull/619 (plus flake8) 2014-05-08 11:43:04 +03:00
hugovk
a7d21dec15 Remove temp test code 2014-04-26 20:41:01 +03:00
hugovk
7d1cdc54c4 Don't skip all the tests on Python 3 when there's no cPickle, just the irrelevant test 2014-04-26 20:20:42 +03:00
hugovk
8794c46318 For pickling, test with Image's __eq__. Everything else can use the old assert_image_equal. 2014-04-26 20:05:02 +03:00
hugovk
2a6f2c5442 Add __eq__ and __ne__ to Image to be able to test image equality when pickling. Pickle more data. 2014-04-26 19:43:53 +03:00
hugovk
e4185694a2 P3 will skip explicit cPickle tests 2014-04-22 09:30:15 +03:00
hugovk
adfbe8323a Tests and partial implementation of pickling (#629) 2014-04-22 08:54:16 +03:00
wiredfool
5ca5652d0b Merge pull request #551 from wiredfool/with
Image.close, Context manager support
2014-04-17 22:20:30 -07:00
wiredfool
471cecb523 tests for close and context manager 2014-04-17 22:01:55 -07:00
wiredfool
ca36b6cd36 Merge pull request #606 from wiredfool/pgm
16 bit Read/Write PGM support.
2014-04-17 12:22:18 -07:00
wiredfool
1945fd6cb4 Merge pull request #618 from hugovk/master
Add version 0.30 of OleFileIO (2014-02-04)
2014-04-17 12:19:03 -07:00
wiredfool
aba195d35e Tests for #614 2014-04-14 06:13:57 -07:00
hugovk
329fd00d3f Test j2k 2014-04-14 13:49:29 +03:00
wiredfool
189c40dc9e Merge branch 'patch-1' of https://github.com/Hijackal/Pillow into Hijackal-patch-1 2014-04-14 03:15:38 -07:00
hugovk
7ba5962512 Fix typo and update test 2014-04-14 00:27:08 +03:00
hugovk
6ff77414b3 Test some debug functions. No asserts, just check they run ok. 2014-04-14 00:05:31 +03:00
hugovk
949e87e55d Remove 'failing' test_debug() 2014-04-13 23:28:41 +03:00
hugovk
f40cf7870f More testing 2014-04-13 23:16:01 +03:00
hugovk
bfc05b7a8c Handle bytes in test for Py2 and 3 2014-04-11 15:02:42 +03:00
hugovk
2271ee6f65 Add some simple tests for OleFileIO.py 2014-04-11 14:53:33 +03:00
hijackal
7f164d641f Test image: TIFF for OPEN_INFO = {(II, 0, 3, 1, (32,), ()): ("F", "F;32F")} 2014-04-11 11:39:05 +02:00
hugovk
9c6b07d21b Remove temporary forced failure 2014-04-11 10:59:58 +03:00
hugovk
cf6daf03fe Use correct brackets 2014-04-11 10:47:37 +03:00
hugovk
267cdf523e Print out lists of failed tests (and temporarily force a failure for testing) 2014-04-11 10:28:06 +03:00
Terseus
113b8c2a76 Removed non-ASCII character from messages 2014-04-09 20:06:58 +02:00
Terseus
b987d90568 Added tests for lines with 1px slope
This tests are designed to guarantee that the wide lines behave exactly
like normal lines drawn with the Bresenham's algorithm.
This tests are somewhat subjective since this is non-defined behavior,
but I think that mimic the Bresenham's algorithm is reliable enough.

Currently the horizontal version of this test **fail**.
2014-04-09 19:34:50 +02:00
Terseus
4b7236f460 Added tests of hor/ver lines 101px wide
These tests should guarantee that the proportion of the width is
maintained with a margin of error < 1%.
2014-04-09 19:34:50 +02:00
Terseus
8228caf14d Added some oblique 45º lines tests
Only the oblique 3 pixels wide lines are defined:
* The oblique 2 pixels wide lines are somewhat hard to define.
* To define the oblique lines wider than 3 pixels we neet to define
  first how the oblique lines should expand their width (realistic or
  exact).
2014-04-09 19:33:46 +02:00
hugovk
9210f88102 Start coverage measurement earlier so tests are properly covered 2014-04-08 17:20:52 +03:00
hugovk
5afdd6cb54 pep8 Tests/tester.py 2014-04-08 17:17:10 +03:00
hugovk
ed00b2e6d2 Read existing data coverage on measurement start, save on stop. Only measure PIL code. 2014-04-08 12:38:30 +03:00
hugovk
3e9cde4412 Use tester.py's built-in coverage and coverage.py's built-in cleanup 2014-04-08 12:28:00 +03:00
wiredfool
2daac27713 Tests for writing hi bit pgm 2014-04-07 22:22:42 -07:00
wiredfool
864fb95cb1 Read test for 16 bit binary pgm file, #602 2014-04-07 22:10:45 -07:00
Terseus
92dd58c014 Added descriptive errors to imagedraw tests 2014-04-06 14:03:03 +02:00
wiredfool
82d7524add made has_ghostscript a method, using it from test_imagefile 2014-04-04 13:33:54 -07:00
Terseus
1c02d467ef Added test for vertical lines.
The behavior is consistent with horizontal lines, see previous commit
for details.
2014-04-04 12:45:47 +02:00
Terseus
fee2faa8dc Added test for horizontal lines
Notice that the expansion of the line width depends on the order of the
points:
  * If the bigger axis value is provided as the *second* point the line
    expand first to the *positive* side of the axis.
  * If the bigger axis value is provided as the *first* point the line
    expand first to the *negative* side of the axis.
  * If the line's width is odd this doesn't matter, as the line will
    expand the same amount to both sides.

This behavior should be consistent in both horizontal and vertical lines.
2014-04-04 12:35:26 +02:00
Terseus
e2cb2195eb Added test for a simple right triangle
The diagonals of the right angled edges must be perfect and the bottom
vertice should be drawn.
2014-04-04 11:46:58 +02:00
Terseus
ec74779b19 Added test for a simple square 2014-04-04 11:28:41 +02:00
Terseus
7de14a51dd Added base method and constants to test_imagedraw
The method `create_base_image_draw` will be used in all the new draw
tests.
2014-04-04 10:47:22 +02:00
wiredfool
ab3687e10f Tests correctly check for the core object 2014-04-03 16:04:29 -07:00
wiredfool
182e7782fa Trapping warnings 2014-03-30 09:26:03 -07:00
wiredfool
4877d52cf4 warn category defaults to UserWarning 2014-03-30 09:25:52 -07:00
wiredfool
0d7115a5a4 Merge from master 2014-03-30 09:14:04 -07:00
Alex Clark ☺
6e6bc21ba1 Merge pull request #565 from al45tair/icns-support
Improved icns support
2014-03-30 07:30:14 -04:00
Alex Clark ☺
0baa82ac69 Merge pull request #580 from wiredfool/libtiff-fd-leak
Fixes libtiff leaking open files
2014-03-29 18:25:57 -04:00
wiredfool
65c17d4176 Removed warning import, stray im=None, and moved os import to top 2014-03-28 08:35:18 -07:00
Alastair Houghton
5dd67abd71 Merge branch 'master' into icns-support 2014-03-28 09:15:20 +00:00
Alastair Houghton
c2ddcbfde9 Merge JPEG 2000 icon support. 2014-03-28 09:11:45 +00:00
Alastair Houghton
5aac5b7eff Made JPEG2K support for files conditional on its inclusion in pillow build. Added a JPEG2K icon test. 2014-03-28 09:09:55 +00:00
wiredfool
b73b4a7b63 Tests for #526 2014-03-27 22:17:27 -07:00
wiredfool
3e24bc684d Merge pull request #578 from wiredfool/xrange
Python3 issues in JpegImagePlugin
2014-03-27 20:52:07 -07:00
wiredfool
7a8025b947 Merge of travis-tweaks into jpeg2k 2014-03-27 20:36:15 -07:00
wiredfool
a2800ba9a1 Additional commits from pr 2014-03-27 20:00:10 -07:00
wiredfool
5a4808d2d2 test cleanup: don't mask file builtin, data is unused 2014-03-27 16:44:58 -07:00
wiredfool
c7af2bf5b0 Test for #577 2014-03-27 16:39:58 -07:00
Alastair Houghton
0eccdf534d Merge branch 'master' into icns+jp2k 2014-03-27 08:38:02 +00:00
Alastair Houghton
946753a3b5 Ignore spurious messages from OpenJPEG. 2014-03-27 08:36:15 +00:00
wiredfool
2b81156619 merge to master 2014-03-26 18:46:35 -07:00
wiredfool
55ea6c01b1 OSError catching in the test as well 2014-03-26 13:31:20 -07:00
wiredfool
edc3215e34 Disabling poor performing test on pypy 2014-03-26 09:12:51 -07:00
Alastair Houghton
1dfa9faae2 Updated icons. 2014-03-26 14:08:54 +00:00
Alastair Houghton
cbe7e93bdd Merge branch 'icns-support' into icns+jp2k 2014-03-26 11:18:26 +00:00
Alastair Houghton
5904ac1718 Added some tests and a couple of icns files. 2014-03-26 10:49:39 +00:00
wiredfool
8adbaf8098 Better tests, fixes for leaking RGB->P transparency 2014-03-26 00:01:10 -07:00
wiredfool
89c24e971c Tests for #510 2014-03-25 23:33:49 -07:00
wiredfool
9518214980 Tests for #544 2014-03-25 21:42:40 -07:00
cgohlke
1adf30b701 TST: fix failing BMP tests on Windows 2014-03-20 01:16:31 -07:00
Alastair Houghton
f1b79ec5c0 Really added the tests this time. 2014-03-19 12:17:14 +00:00
wiredfool
ed36893ca0 Clarified Test Validity 2014-03-17 13:29:44 -07:00
Alex Clark ☺
da3ab720f4 Merge pull request #534 from homm/fix-getcolor-rgba
Fix ImageColor.getcolor
2014-03-17 10:20:40 -04:00
Alex Clark ☺
054eb71bc6 Merge pull request #525 from wiredfool/ico_parser
Make ICO files work with the ImageFile.Parser interface, fixes #522
2014-03-17 10:14:03 -04:00
Alex Clark
0e9f4c6c60 Merge branch 'dschmidt_palette_513' of https://github.com/wiredfool/Pillow into wiredfool-dschmidt_palette_513 2014-03-17 09:48:24 -04:00
Alex Clark
c1d44980b8 Merge branch 'pcx' of https://github.com/wiredfool/Pillow into wiredfool-pcx 2014-03-17 09:38:38 -04:00
Alex Clark ☺
35241da3f8 Merge pull request #517 from wiredfool/pcf
Fix support for characters >128 using .pcf or .pil fonts in Py3k
2014-03-17 08:30:02 -04:00
Alex Clark ☺
eb9da126ed Merge pull request #516 from wiredfool/cffi-pixelaccess
Skip CFFI test earlier if it's not installed
2014-03-17 08:27:38 -04:00
wiredfool
414e887726 Merge Changes from Master 2014-03-04 22:43:19 -08:00
wiredfool
f8ce951a2d Merge Changes from master 2014-03-04 22:41:36 -08:00
wiredfool
0fc225c358 test for issue #434 2014-03-04 22:29:55 -08:00
wiredfool
1706e59d1c cleanup tempfile 2014-03-04 22:02:22 -08:00
wiredfool
ae5bcb8e84 Test for issue #513 2014-03-04 22:02:03 -08:00
wiredfool
a3371ee9fe Tests for issue #523 2014-03-03 23:05:50 -08:00
homm
68a64e8071 fix ImageColor.getcolor in cases:
- color is rgba, mode is RGB
- mode is LA
2014-03-03 16:10:34 +04:00
wiredfool
0d453d9805 Added test for Palette transparency=0 2014-02-28 16:29:34 -08:00
wiredfool
36323d1140 Make ICO files work with the ImageFile.Parser interface, fixes #522 2014-02-16 20:58:06 -08:00
Alex Clark ☺
cbdd639838 Merge pull request #504 from e98cuenc/highquality
Improve heuristic used when saving progressive and optimized JPEGs with high quality values.
2014-02-10 07:23:44 -05:00
wiredfool
41e124af05 Skip CFFI test earlier if it's not installed 2014-02-04 21:45:34 -08:00
wiredfool
540e1e2c68 Added ability to render a bytes object using an old style bitmap font to make it easier to use in Py3k 2014-02-04 21:41:16 -08:00
wiredfool
4d32136365 Working in py3k, not in 2.x 2014-02-04 21:41:16 -08:00
Joaquín Cuenca Abela
96ca9ff6ff Another attempt to achieve python 3 compatibility. 2014-02-04 17:37:18 +01:00
Joaquín Cuenca Abela
97b23af7e5 Try to fix test_file_jpeg in Python3 2014-02-04 17:23:29 +01:00
wiredfool
c9955628e2 Merge from master 2014-01-31 21:38:34 -08:00
wiredfool
de1b02dc8c Merge pull request #508 from wiredfool/no-icc-profile
Fix crash on saving PNG when icc_profile is None
2014-01-31 14:03:21 -08:00
wiredfool
8a86364885 Merge branch 'no-icc-profile' of github.com:wiredfool/Pillow into no-icc-profile 2014-01-31 13:59:38 -08:00
wiredfool
3ea93e5de5 Merge branch 'bmp_test' of github.com:wiredfool/Pillow into bmp_test 2014-01-31 13:52:17 -08:00
wiredfool
288a563d1a merge from master 2014-01-31 13:45:31 -08:00
Alex Clark ☺
5750d5d6ef Merge pull request #474 from sciunto/bool
Maint: minor patch on booleans + travis
2014-01-31 13:16:38 -08:00
Joaquín Cuenca Abela
a0af87e524 Make test_file_jpeg compatible with Python 3 2014-01-28 08:48:40 +01:00
wiredfool
97c0be9358 enable test by default 2014-01-27 20:31:22 -08:00
wiredfool
0a156ca68a Check for unsupported bitmap compression/encoding 2014-01-27 20:30:52 -08:00
wiredfool
14175b786d Cleaning out prints, reenabling bad/questionable 2014-01-27 20:26:26 -08:00
Joaquín Cuenca Abela
bab068a337 Improve heuristic used when saving progressive and optimized JPEGs with high quality values. 2014-01-27 20:27:03 +01:00
wiredfool
ff417ceaac (supported) good bmps all pass 2014-01-26 20:38:54 -08:00
wiredfool
b3008a5386 good bmp tests, many failing for matching the images 2014-01-26 20:38:54 -08:00
wiredfool
29c9e952b3 return value for assert_image_similar 2014-01-23 21:06:33 -08:00
wiredfool
0d97ad0d8c Test Images 2014-01-23 20:29:58 -08:00
wiredfool
046a226f34 Don't use gigs of memory with invalid palette sizes 2014-01-23 20:11:05 -08:00
wiredfool
7d76ae2d91 Test for #495, writing to bytesio 2014-01-22 20:40:37 -08:00
wiredfool
15d6cc9f57 bmp test reorganization 2014-01-22 20:40:02 -08:00
wiredfool
8ce2faa8c9 enable eps test in test_imagefile, test passes 2014-01-21 23:17:47 -08:00
wiredfool
598bd02650 Tightened up the tests 2014-01-21 20:50:54 -08:00
wiredfool
0492409def don't use bare asserts, don't mask file builtin with local 2014-01-20 13:34:48 -08:00
wiredfool
e1489d7c76 Merge pull request #500 from wiredfool/webp_lossless_abi
Webp lossless abi
2014-01-20 13:18:30 -08:00
wiredfool
78a51237c5 tests for #491/492, webp lossless abi 2014-01-20 13:05:30 -08:00
wiredfool
2cc2a8cd62 Merge pull request #499 from wiredfool/webp_exif
*  Don't send None as exif to JpegImagePlugin._getexif -- homm 
*  Test for fix -- wiredfool
2014-01-20 11:03:02 -08:00
wiredfool
54a3dc417f Test for PR#498 2014-01-20 10:59:30 -08:00
Bruno Renié
e1e64904c7 Cleanup handling of ICC profile, more extensive testing 2014-01-19 19:09:40 +01:00
Bruno Renié
0348fcac51 Fix crash on save when icc_profile is None 2014-01-19 16:40:39 +01:00
cgohlke
5f53d98b8e Add test for issue $479 2014-01-11 12:30:09 -08:00
wiredfool
79a7fdc100 I32 modes, not that I can actually use the I;32L/B ones 2014-01-08 21:18:38 -08:00
wiredfool
bfdc599c28 F mode support 2014-01-08 20:23:20 -08:00
François Boulogne
ead121d951 MAINT replace is False by not 2014-01-08 22:07:35 -05:00
François Boulogne
6b53d0d007 MAINT: replace is True: by : 2014-01-08 08:43:01 -05:00
François Boulogne
980517587d MAINT: use is instead of == for True, False, None 2014-01-07 21:24:21 -05:00
François Boulogne
923018dfeb MAINT: s/while 1:/while True:/ 2014-01-07 21:21:24 -05:00
wiredfool
b6ad79d9f9 detailed tests for I;16 modes, merged from i16-pixelaccess branch 2014-01-06 23:25:41 -08:00
wiredfool
e87e0333fb Merge branch 'i16-pixelaccess' into cffi-pixelaccess 2014-01-06 23:22:35 -08:00
wiredfool
5dfadf623b LA, PA image modes 2014-01-06 22:51:31 -08:00
wiredfool
121b51aebc trying to bust up the JIT a bit 2014-01-06 22:09:00 -08:00
wiredfool
4cacfe6b11 longer benchmark 2014-01-06 08:55:06 -08:00
wiredfool
c98f731f7e Ensuring c-api access 2014-01-05 21:36:13 -08:00
wiredfool
273a5014d2 more extensive testing, matches original c code 2014-01-05 21:18:53 -08:00
wiredfool
de53889711 removed initial testing 2014-01-05 20:50:05 -08:00
wiredfool
bb20f6ca83 basic benchmark shows ~order of magnitude speedup 2014-01-05 16:45:01 -08:00
wiredfool
5efe737f6f Cffi pixel access object, #248 2014-01-05 10:41:25 -08:00
Alex Clark ☺
bcfc06d6d0 Merge pull request #469 from manisandro/test_webp
Use assert_image_similar in test_file_webp.py
2014-01-04 13:34:43 -08:00
Sandro Mani
4de31b2693 Use assert_image_similar instead of assert_image_equal in test_file_webp.py 2014-01-04 21:48:18 +01:00
wiredfool
1dd80b2625 reverted int32 changes 2013-12-30 21:00:32 -08:00
cgohlke
55d4160bcc TST: fix comparison of X/Y Resolution rational numbers 2013-12-29 20:14:51 -08:00
cgohlke
b7aafa2036 Add assert_almost_equal() for testing float numbers 2013-12-29 20:05:55 -08:00
Alex Clark ☺
ae7edfa58d Merge pull request #441 from wiredfool/lut
Image.point fixes for numpy.array and docs
2013-12-28 06:08:08 -08:00
Alex Clark ☺
243160ee78 Merge pull request #448 from wiredfool/2gigapix-redux
2gigapix redux
2013-12-28 06:06:42 -08:00
Alex Clark ☺
ad47ea5a52 Merge pull request #424 from wiredfool/trns-write-bydefault2
Save the transparency header by default for PNGs
2013-12-28 05:57:45 -08:00
Alex Clark ☺
d48f301d57 Merge pull request #423 from wiredfool/trns-png
Support for PNG tRNS header when converting from RGB->RGBA
2013-12-28 05:56:03 -08:00
Alex Clark
35f66adbde Remove my inferior gs binary check 2013-12-28 08:53:46 -05:00
Alex Clark ☺
6a52e272cf Merge pull request #420 from wiredfool/gs-test
Skip ghostscript test when gs is missing
2013-12-28 05:52:42 -08:00
Alex Clark ☺
e4ae62ae59 Merge pull request #418 from wiredfool/AurelienBallier-master
PyQT5 Support
2013-12-28 05:50:49 -08:00
Alex Clark ☺
f5fb2d7e7d Merge pull request #417 from wiredfool/libtiff-save2
Updates for saving color tiffs w/compression using libtiff
2013-12-28 05:47:47 -08:00
Alex Clark
26ec2a09f0 Skip eps file test if no ghostscript 2013-12-28 07:47:09 -05:00
wiredfool
598d97daff Reorg+add test for #452 2013-12-19 21:38:31 -08:00
wiredfool
aa1c0fdfb6 merge from master 2013-12-19 20:48:49 -08:00
Eric Soroos
77008c0b62 test for 2gb numpy image segfault 2013-12-13 21:05:08 -08:00
wiredfool
4791d156f1 Comments/Docs, fixes #440 2013-12-10 16:05:05 -08:00
wiredfool
d05b5d9060 Restore numpy.array as valid lookup tables 2013-12-10 15:47:26 -08:00
wiredfool
28f22fc908 Return positive size for > 2gpx images, fixes #436 2013-12-04 20:59:33 -08:00
wiredfool
543f96de61 Merge from master 2013-11-30 09:57:00 -08:00
wiredfool
d65a2c8018 Save the transparency header by default for PNGs 2013-11-26 15:06:26 -08:00
wiredfool
0356741a29 Now using the rgbT2rgba conversion for L+transparency to RGBA, dropping the palette hack 2013-11-26 13:04:10 -08:00
wiredfool
e12528fb62 dyslexic typo 2013-11-26 12:22:09 -08:00
nikmolnar
d030b4f48a Added a test for issue #421 2013-11-22 16:04:51 -08:00
wiredfool
c82bfd30cf cleanup temp file 2013-11-21 22:15:34 -08:00
wiredfool
6bd51e053b disabling bw compression test due to stderr pollution from libtiff 2013-11-21 22:14:29 -08:00
wiredfool
60c93ce1b1 Testing default pil implemented compressions with libtiff 2013-11-21 22:13:57 -08:00
wiredfool
94e3c75179 Merge from 12-bit-tiff 2013-11-21 21:41:54 -08:00
wiredfool
3d31bf394b removing libtiff compression based decoder names 2013-11-21 21:10:17 -08:00
wiredfool
019074670b Test for 12bit image using libtiff 2013-11-21 20:37:52 -08:00
wiredfool
1e41f2dad9 Skip ghostscript test when it's not executable 2013-11-21 14:32:18 -08:00
wiredfool
886b075526 Merge from master 2013-11-20 22:52:47 -08:00
wiredfool
b0b7c1acb5 removed debugging prints 2013-11-20 22:43:39 -08:00
wiredfool
29fb4523d5 tests for imageqt4/5 2013-11-20 22:19:28 -08:00
wiredfool
b73ae9c27a Tests for 12bit tiff rawmode 2013-11-20 16:54:49 -08:00
Esteban Santana Santana
64e53de5c9 Another typo. 2013-11-20 02:25:50 -06:00
Esteban Santana Santana
155239cbc3 Copy paste issue on that last commit. 2013-11-20 02:22:04 -06:00
Esteban Santana Santana
7797633d7a Loosened testing rigor for EPS files.
Due to differences in rendering between platforms (mainly antialiasing), we had to lower the rigor with which we test our EPS handling. Instead of making the test fail if the rendered image does not exactly match, we now only fail if the images are grossly divergent.
2013-11-20 02:14:29 -06:00
Esteban Santana Santana
582d54d055 Test harness for EPS files.
We now have a test harness for EPS files. Two variants were created one for the default scale=1 and one where scale=2. These two tests are run against two different EPS files, one with zero for the start of the bounding box and one where this is not the case. PNG test renders are used to make sure the output match what we expect. Lastly the sample EPS files were generated using the included create_eps.gnuplot file and the gnuplot program on a Mac.
2013-11-20 00:43:10 -06:00
wiredfool
0ffc1a848a Renamed test tiff files to 16bit*. They are 12bit data in a 16bit format 2013-11-19 14:48:01 -08:00
wiredfool
dd93820b74 Failing test for #403 2013-11-07 16:39:57 -08:00
wiredfool
b4aa0429aa successful roundtrip test 2013-11-07 16:39:36 -08:00
wiredfool
1d6f6ffa10 error test for bw compression on RGB file 2013-11-05 20:59:57 -08:00
wiredfool
a4a9b36ed0 packbits isn't working correctly 2013-11-05 20:53:18 -08:00
wiredfool
d2f1fa0e5f two additional tags for saving color images with libtiff 2013-11-05 20:49:09 -08:00
Alex Clark ☺
e3d85700b4 Merge pull request #390 from wiredfool/webp-lossless
Lossless WEBP Support
2013-10-24 03:08:24 -07:00
wiredfool
388c25b781 PhotometricInterpretation is set from SAVE_INFO, not the original image, so spurious test failure. 2013-10-23 20:50:01 -07:00
wiredfool
63995459bc merge from master 2013-10-22 16:18:06 -07:00
wiredfool
f8abb98ffd Merge from master 2013-10-22 16:05:18 -07:00
wiredfool
2c1e800836 added new VP8 mode for lossless reading of RGBA, fixes failing tests 2013-10-22 12:44:09 -07:00
wiredfool
27b1054b77 Tests for writing lossless RGB and RGBA images 2013-10-22 12:32:31 -07:00
wiredfool
6357b4707c String attr test case 2013-10-22 10:09:25 -07:00
wiredfool
758da6c581 whitespace error 2013-10-22 10:06:33 -07:00
Eric Soroos
8d21ce1df7 py3k 2013-10-21 22:53:35 +00:00
Eric Soroos
3128a76495 MM and II 16 bit integer tiffs pack/write properly using libtiff on bigendian platform 2013-10-21 22:37:20 +00:00
wiredfool
83bd3291db tests for the actual compression method of the compressed file 2013-10-21 09:29:51 -07:00
Eric Soroos
1945fecdb6 Tests for endian issues in decoding 16bit tif images 2013-10-21 05:19:52 +00:00
Eric Soroos
366f9a5f35 uint16 varies from platform to platform, <u2 is spefific 2013-10-19 03:30:02 +00:00
hugovk
c91bd27eec Add tests for rotated and non-rotated transposed font
Check the box size of an ImageFont.TransposedFont matches that of the original ImageFont.
2013-10-17 17:36:38 +03:00
Alex Clark ☺
55a0792815 Merge pull request #380 from wiredfool/lcms2
LCMS1 replaced with LCMS2
2013-10-16 09:09:15 -07:00
wiredfool
deb424c5cd working tests for LAB color conversions using ImagingCMS 2013-10-15 22:06:30 -07:00
wiredfool
1865a5c438 Shifting the midpoint of the ab channels to 128. unshifting back to signed int on pack 2013-10-15 22:06:30 -07:00
Seth VanHeulen
89b2653135 Added tests for new 16 bit raw unpackers 2013-10-15 14:10:11 -04:00
wiredfool
4458787f5e Back to RGBx format, 3 bands in 4 bytes. Tests for internal consistency 2013-10-14 22:47:27 -07:00
wiredfool
215b61aadf added lab->srgb and srgb->lab->srgb tests 2013-10-11 23:39:16 -07:00
wiredfool
ace78d0734 Lab is Uint, Int, Int. Tests failing 2013-10-11 23:31:47 -07:00
wiredfool
1c3932e89f Added LAB mode, core dumped 2013-10-10 23:27:34 -07:00
wiredfool
ac38d91a2d Well, now I know _why_ it's failing. We don't have a concept for LAB color 2013-10-10 23:02:33 -07:00
wiredfool
b506e2ad44 Fixed ability to create LAB profiles with color temperatures 2013-10-10 22:42:27 -07:00
wiredfool
9042f8c61f split tests, disable info difference tests 2013-10-10 22:16:56 -07:00
wiredfool
21697f676b Merge branch 'master' into tifftags 2013-10-08 21:34:02 -07:00
wiredfool
a91283061e Python3 fixes 2013-10-07 23:30:55 -07:00