Commit Graph

75 Commits

Author SHA1 Message Date
Alex Clark ☺
6599df461b Merge pull request #213 from mattip/master
add tests and fix for issue 212
2013-05-11 15:37:04 -07:00
Sandro Mani
e3f8395293 Fix test hardcoded for little endian 2013-05-07 23:55:48 +02:00
Matti Picus
6a942c3065 add assert to test 2013-05-07 23:49:45 +03:00
Matti Picus
af94b45cbc allow integer image resolution as well as rational 2013-05-07 23:33:21 +03:00
Matti Picus
5ca04bb728 a test that fails for images with integer resolution 2013-05-07 23:23:51 +03:00
wiredfool
44d97759af Merge pull request #209 from wiredfool/pr202
Fonts from Filelike Objects
2013-04-25 22:14:10 -07:00
wiredfool
2e3cc80aa5 Added font rendering tests 2013-04-25 21:58:04 -07:00
Nicolas Pieuchot
5577801aaa Changing StringIO to BytesIO 2013-04-25 21:45:12 +02:00
Nicolas Pieuchot
6d8ba56c44 Adding Python 3 support for StringIO 2013-04-25 21:25:06 +02:00
Nicolas Pieuchot
450a068ccb Removing buffer from imagefont 2013-04-25 18:48:43 +02:00
Michał Górny
0aa05780c5 test_file_tiff: skip JPEG-in-TIFF tests if libjpeg is not available. 2013-04-22 11:55:17 +02:00
wiredfool
c3d6b0d7f6 Merge pull request #201 from wiredfool/pr199
Skip tests for features that aren't compiled in, includes #199
2013-04-21 13:43:14 -07:00
wiredfool
52cbacf028 renamed 2013-04-21 13:54:30 -07:00
wiredfool
25f26f74e8 rename to include libtiff 2013-04-21 13:53:43 -07:00
wiredfool
d2c9ee14ad skipp these test is libtiff support is not included 2013-04-21 13:52:04 -07:00
wiredfool
945b6bf53c Split tiff tests so that test_file_tiff tests the builtins, and test_file_libtiff tests only things that depend on libtiff 2013-04-21 13:51:16 -07:00
Michał Górny
c01696bf2d Use proper tempdir for temporary test files.
Writing temporary files in source tree is just wrong. Instead, use
a directory inside system tempdir.
2013-04-21 11:05:31 +02:00
Michał Górny
995fe2b041 test_file_tiff: skip if TIFF is not available. 2013-04-21 10:40:56 +02:00
Michał Górny
a83530f475 test_font_pcf: skip if zlib is not available. 2013-04-21 10:30:59 +02:00
Michał Górny
a5a5c854b8 test_image_draft: skip if no JPEG support. 2013-04-21 10:27:27 +02:00
Michał Górny
e2221de8f5 Support (most of) test_image_split without PNG.
If PNG (zlib) support is disabled, use .pcx for test_image_split which
is unconditional. Since it does not support RGBA, skip the RGBA test.
Otherwise, just use PNG and do the full test.
2013-04-21 10:18:32 +02:00
Michał Górny
6cdc8b08db test_imagefile: handle missing PNG & JPEG encoders gracefully. 2013-04-21 10:13:33 +02:00
Michał Górny
6afa11ec02 test_file_tar: skip if codecs are not available.
The .tar test requires both jpeg & zlib support. If one of the two is
unavailable, run the test for the second one. If both are unavailable,
skip the test.
2013-04-21 10:04:58 +02:00
Alex Clark ☺
8e3072230f Merge pull request #178 from manisandro/endian
Fix tests which are hardcoded for little-endian CPUs
2013-04-08 17:54:26 -07:00
Sandro Mani
2a2a1ea144 Fix tests which are hardcoded for little-endian CPUs 2013-04-07 19:02:11 +02:00
wiredfool
38b0bef464 webp is in import, not a codec 2013-03-27 10:00:35 -07:00
wiredfool
86bb25e735 reenable basic webp test, skip if support not installed 2013-03-27 09:52:47 -07:00
David Schmidt
a05bf23b05 Merge branch 'master' of https://github.com/python-imaging/Pillow 2013-03-26 11:24:52 +01:00
David Schmidt
5303f0ea66 added tests to cover save of four different png transparencies 2013-03-26 11:24:07 +01:00
Alex Clark ☺
8244203366 Merge pull request #157 from wiredfool/webp_tests
approximate test for lossy image writing
2013-03-23 08:46:24 -07:00
wiredfool
2a743c9527 JpegImagePlugin sets bufsize for optimized images 2013-03-22 22:27:12 -07:00
wiredfool
5eae020aef py3 as well 2013-03-22 21:25:37 -07:00
wiredfool
f432530df3 approximate test for lossy image writing 2013-03-22 21:15:45 -07:00
Sandro Mani
e3cb3074ce Add tempfile for test output 2013-03-22 01:58:19 +01:00
wiredfool
d678b97444 added write verification test 2013-03-19 13:49:01 -07:00
wiredfool
02931c4956 checking results of webp decoding 2013-03-19 13:40:10 -07:00
wiredfool
95353cff15 basic sanity test for webp 2013-03-19 11:43:45 -07:00
Alex Clark
f9a3390bc7 Add test instructions from Mark Sienkiewicz 2013-03-15 16:47:14 -04:00
Alex Clark ☺
d635b516ea Merge pull request #129 from cgohlke/patch-2
Remove test that fails when numpy.int is 64 bit
2013-03-14 17:48:03 -07:00
Alex Clark ☺
1cd3ce8689 Merge pull request #124 from wiredfool/jpeg
Remove irrelevant test
2013-03-14 17:47:24 -07:00
Christoph Gohlke
054f1ef870 Remove test that fails when numpy.int is 64 bit
Fixes issues #75
2013-03-14 17:14:44 -07:00
Christoph Gohlke
5f54802ea7 Enable test_file_tiff 2013-03-14 16:12:57 -07:00
Christoph Gohlke
bd55b8baf1 End 'Make' tag with null byte 2013-03-14 16:06:20 -07:00
wiredfool
c6249a5b76 Remove irrelevant test 2013-03-14 15:45:44 -07:00
wiredfool
d98abd877b merge to master 2013-03-14 14:38:49 -07:00
wiredfool
8b153d1ec4 renamed testfile 2013-03-14 13:33:10 -07:00
Alex Clark
fa275f51b5 Cross plat fix 2013-03-14 16:27:31 -04:00
wiredfool
7d99141405 force seek to beginning of file 2013-03-14 13:25:23 -07:00
Christoph Gohlke
a72d46d314 Disable debug messages during g4 tiff tests 2013-03-14 12:26:00 -07:00
wiredfool
7db24ccac8 StringIO -> BytesIO 2013-03-14 10:17:26 -07:00